#331D5F

A dark, moderate purple closely aligning with Midnightblue.

About #331D5F

The hex code #331D5F represents a beautifully specific shade of purple. Designers often compare it to the standard color Midnightblue. Its digital footprint relies on 51 parts red, 29 parts green, and 95 parts blue light.

For print applications, it's crucial to understand its CMYK makeup. The color uses 46% Cyan, 69% Magenta, 0% Yellow, and 63% Black. Always request a physical proof before doing a large print run with this exact code.

Ensuring your text is legible against this background is a key part of web design. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#331D5F
RGB51, 29, 95
HSL260.0°, 53.2%, 24.3%
CMYK46%, 69%, 0%, 63%
HSV260.0°, 69.5%, 37.3%
LAB17.5, 27.6, -35.6
XYZ3.9, 2.4, 11.1
Decimal3349855

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

14.17:1
Text on #FFFFFF
AAA
1.48:1
Text on #000000
FAIL
13.55:1
Text on #F8FAFC
AAA
1.26:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #331D5F; }
.text-color { color: #331D5F; }
.border-color { border: 2px solid #331D5F; }

Similar Colors

Midnightblue
#191970