#2C1666

A dark, moderate purple closely aligning with Midnightblue.

About #2C1666

The hex code #2C1666 represents a beautifully specific shade of purple. It is closely associated with the named CSS color Midnightblue. To achieve this exact tint on a monitor, you would use an RGB mix of 44, 22, and 102.

When sending designs containing this color to a printer, the CMYK values come into play. To reproduce this shade on paper, a printer utilizes 57% cyan and 78% magenta inks. This makes it a relatively dark color when applied to physical surfaces.

Contrast ratios determine whether this color is safe for typography. 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#2C1666
RGB44, 22, 102
HSL256.5°, 64.5%, 24.3%
CMYK57%, 78%, 0%, 60%
HSV256.5°, 78.4%, 40.0%
LAB15.8, 32.6, -43.0
XYZ3.7, 2.1, 12.8
Decimal2889318

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

14.85:1
Text on #FFFFFF
AAA
1.41:1
Text on #000000
FAIL
14.20:1
Text on #F8FAFC
AAA
1.20:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Midnightblue
#191970