#5F3A8A
A dark, moderate purple closely aligning with Darkslateblue.
About #5F3A8A
Visually, #5F3A8A is defined as a moderate purple. Designers often compare it to the standard color Darkslateblue. To achieve this exact tint on a monitor, you would use an RGB mix of 95, 58, and 138.
If you are designing for print, the four-color process is what matters most. The color uses 31% Cyan, 58% Magenta, 0% Yellow, and 46% Black. With a hue angle of 267.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. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#5F3A8A
RGB95, 58, 138
HSL267.8°, 40.8%, 38.4%
CMYK31%, 58%, 0%, 46%
HSV267.8°, 58.0%, 54.1%
LAB32.5, 33.4, -38.7
XYZ10.8, 7.3, 24.9
Decimal6240906
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
8.54:1
Text on #FFFFFF
AAA
2.46:1
Text on #000000
FAIL
8.16:1
Text on #F8FAFC
AAA
2.09:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #5F3A8A;
}
.text-color {
color: #5F3A8A;
}
.border-color {
border: 2px solid #5F3A8A;
}