#5F2466
A dark, moderate magenta closely aligning with Darkslateblue.
About #5F2466
When working with digital screens, the color #5F2466 is rendered by mixing light. Its closest recognized web color is Darkslateblue. In the RGB color space, it consists of 95 red, 36 green, and 102 blue.
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). The color uses 7% Cyan, 65% Magenta, 0% Yellow, and 60% Black. This makes it a relatively dark color when applied to physical surfaces.
Contrast ratios determine whether this color is safe for typography. 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#5F2466
RGB95, 36, 102
HSL293.6°, 47.8%, 27.1%
CMYK7%, 65%, 0%, 60%
HSV293.6°, 64.7%, 40.0%
LAB25.7, 37.0, -26.7
XYZ7.7, 4.7, 13.1
Decimal6235238
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
10.88:1
Text on #FFFFFF
AAA
1.93:1
Text on #000000
FAIL
10.40:1
Text on #F8FAFC
AAA
1.64:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #5F2466;
}
.text-color {
color: #5F2466;
}
.border-color {
border: 2px solid #5F2466;
}