#3A0F50
A very dark, moderate purple closely aligning with Midnightblue.
About #3A0F50
When working with digital screens, the color #3A0F50 is rendered by mixing light. It is closely associated with the named CSS color Midnightblue. Its digital footprint relies on 58 parts red, 15 parts green, and 80 parts blue light.
For print applications, it's crucial to understand its CMYK makeup. The color uses 28% Cyan, 81% Magenta, 0% Yellow, and 69% Black. The HSL representation is 279.7° hue, 68.4% saturation, and 18.6% lightness.
From a UX and accessibility standpoint, contrast is paramount. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#3A0F50
RGB58, 15, 80
HSL279.7°, 68.4%, 18.6%
CMYK28%, 81%, 0%, 69%
HSV279.7°, 81.2%, 31.4%
LAB14.5, 32.6, -30.3
XYZ3.4, 1.8, 7.8
Decimal3805008
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
15.40:1
Text on #FFFFFF
AAA
1.36:1
Text on #000000
FAIL
14.71:1
Text on #F8FAFC
AAA
1.16:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #3A0F50;
}
.text-color {
color: #3A0F50;
}
.border-color {
border: 2px solid #3A0F50;
}