#3A1D6D
A dark, moderate purple closely aligning with Midnightblue.
About #3A1D6D
Visually, #3A1D6D is defined as a moderate purple. It is closely associated with the named CSS color Midnightblue. This translates to an RGB value of rgb(58, 29, 109).
If you are designing for print, the four-color process is what matters most. This specific hue requires a mix of 47% C, 73% M, 0% Y, and 57% K. Always request a physical proof before doing a large print run with this exact code.
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#3A1D6D
RGB58, 29, 109
HSL261.8°, 58.0%, 27.1%
CMYK47%, 73%, 0%, 57%
HSV261.8°, 73.4%, 42.7%
LAB19.6, 33.3, -41.4
XYZ4.9, 2.9, 14.8
Decimal3808621
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
13.32:1
Text on #FFFFFF
AAA
1.58:1
Text on #000000
FAIL
12.73:1
Text on #F8FAFC
AAA
1.34:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #3A1D6D;
}
.text-color {
color: #3A1D6D;
}
.border-color {
border: 2px solid #3A1D6D;
}