#330042
A very dark, vivid magenta closely aligning with Midnightblue.
About #330042
Visually, #330042 is defined as a vivid magenta. If you're using CSS, you might find it aligns closely with Midnightblue. Its digital footprint relies on 51 parts red, 0 parts green, and 66 parts blue light.
For print applications, it's crucial to understand its CMYK makeup. This specific hue requires a mix of 23% C, 100% M, 0% Y, and 74% K. The HSL representation is 286.4° hue, 100.0% saturation, and 12.9% 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#330042
RGB51, 0, 66
HSL286.4°, 100.0%, 12.9%
CMYK23%, 100%, 0%, 74%
HSV286.4°, 100.0%, 25.9%
LAB9.8, 34.5, -28.3
XYZ2.3, 1.1, 5.2
Decimal3342402
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
17.22:1
Text on #FFFFFF
AAA
1.22:1
Text on #000000
FAIL
16.46:1
Text on #F8FAFC
AAA
1.04:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #330042;
}
.text-color {
color: #330042;
}
.border-color {
border: 2px solid #330042;
}