#331666

A dark, moderate purple closely aligning with Midnightblue.

About #331666

Visually, #331666 is defined as a moderate purple. Designers often compare it to the standard color Midnightblue. Its digital footprint relies on 51 parts red, 22 parts green, and 102 parts blue light.

When sending designs containing this color to a printer, the CMYK values come into play. Its ink density profile breaks down to 50% cyan, 78% magenta, 0% yellow, and 60% black. The HSL representation is 261.8° hue, 64.5% saturation, and 24.3% lightness.

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. Always test your color combinations using a contrast checker before publishing.

Color Space Conversions

HEX#331666
RGB51, 22, 102
HSL261.8°, 64.5%, 24.3%
CMYK50%, 78%, 0%, 60%
HSV261.8°, 78.4%, 40.0%
LAB16.7, 33.8, -41.6
XYZ4.1, 2.2, 12.8
Decimal3348070

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

14.51:1
Text on #FFFFFF
AAA
1.45:1
Text on #000000
FAIL
13.87:1
Text on #F8FAFC
AAA
1.23:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Midnightblue
#191970