#331D6D

A dark, moderate purple closely aligning with Midnightblue.

About #331D6D

At its core, #331D6D is a dark and moderate hue. Designers often compare it to the standard color Midnightblue. To achieve this exact tint on a monitor, you would use an RGB mix of 51, 29, and 109.

For print applications, it's crucial to understand its CMYK makeup. Its ink density profile breaks down to 53% cyan, 73% magenta, 0% yellow, and 57% black. The HSL representation is 256.5° hue, 58.0% saturation, and 27.1% lightness.

When using this color as a background, text legibility must be considered. The calculated luminance score dictates that #FFFFFF typography is the safest choice. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#331D6D
RGB51, 29, 109
HSL256.5°, 58.0%, 27.1%
CMYK53%, 73%, 0%, 57%
HSV256.5°, 73.4%, 42.7%
LAB18.7, 32.0, -42.8
XYZ4.6, 2.7, 14.7
Decimal3349869

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

13.66:1
Text on #FFFFFF
AAA
1.54:1
Text on #000000
FAIL
13.06:1
Text on #F8FAFC
AAA
1.31:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Midnightblue
#191970