#3A166D
A dark, moderate purple closely aligning with Midnightblue.
About #3A166D
Visually, #3A166D is defined as a moderate purple. Designers often compare it to the standard color Midnightblue. This translates to an RGB value of rgb(58, 22, 109).
For print applications, it's crucial to understand its CMYK makeup. To reproduce this shade on paper, a printer utilizes 47% cyan and 80% magenta inks. With a hue angle of 264.8 degrees, it sits comfortably in the purple spectrum.
Contrast ratios determine whether this color is safe for typography. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.
Color Space Conversions
HEX#3A166D
RGB58, 22, 109
HSL264.8°, 66.4%, 25.7%
CMYK47%, 80%, 0%, 57%
HSV264.8°, 79.8%, 42.7%
LAB18.3, 37.0, -43.6
XYZ4.8, 2.6, 14.7
Decimal3806829
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
13.86:1
Text on #FFFFFF
AAA
1.52:1
Text on #000000
FAIL
13.24:1
Text on #F8FAFC
AAA
1.29:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #3A166D;
}
.text-color {
color: #3A166D;
}
.border-color {
border: 2px solid #3A166D;
}