#332C42
A dark, muted purple closely aligning with Black.
About #332C42
The hex code #332C42 represents a beautifully specific shade of purple. If you're using CSS, you might find it aligns closely with Black. In the RGB color space, it consists of 51 red, 44 green, and 66 blue.
Translating this color to physical media requires the CMYK color model. Its ink density profile breaks down to 23% cyan, 33% magenta, 0% yellow, and 74% black. With a hue angle of 259.1 degrees, it sits comfortably in the purple spectrum.
Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. To prevent eye strain, #FFFFFF text pairs best with this hex code. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#332C42
RGB51, 44, 66
HSL259.1°, 20.0%, 21.6%
CMYK23%, 33%, 0%, 74%
HSV259.1°, 33.3%, 25.9%
LAB19.6, 8.7, -12.7
XYZ3.2, 2.9, 5.5
Decimal3353666
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
13.29:1
Text on #FFFFFF
AAA
1.58:1
Text on #000000
FAIL
12.71:1
Text on #F8FAFC
AAA
1.34:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #332C42;
}
.text-color {
color: #332C42;
}
.border-color {
border: 2px solid #332C42;
}