#3A1666
A dark, moderate purple closely aligning with Midnightblue.
About #3A1666
At its core, #3A1666 is a dark and moderate hue. Designers often compare it to the standard color Midnightblue. This translates to an RGB value of rgb(58, 22, 102).
Translating this color to physical media requires the CMYK color model. Its ink density profile breaks down to 43% cyan, 78% magenta, 0% yellow, and 60% black. With a hue angle of 267.0 degrees, it sits comfortably in the purple spectrum.
Ensuring your text is legible against this background is a key part of web design. 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#3A1666
RGB58, 22, 102
HSL267.0°, 64.5%, 24.3%
CMYK43%, 78%, 0%, 60%
HSV267.0°, 78.4%, 40.0%
LAB17.6, 35.1, -40.0
XYZ4.4, 2.4, 12.8
Decimal3806822
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
14.13:1
Text on #FFFFFF
AAA
1.49:1
Text on #000000
FAIL
13.50:1
Text on #F8FAFC
AAA
1.26:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #3A1666;
}
.text-color {
color: #3A1666;
}
.border-color {
border: 2px solid #3A1666;
}