#5F428A
A medium, moderate purple closely aligning with Darkslateblue.
About #5F428A
At its core, #5F428A is a medium and moderate hue. It is closely associated with the named CSS color Darkslateblue. This translates to an RGB value of rgb(95, 66, 138).
If you are designing for print, the four-color process is what matters most. This specific hue requires a mix of 31% C, 52% M, 0% Y, and 46% K. With a hue angle of 264.2 degrees, it sits comfortably in the purple spectrum.
When using this color as a background, text legibility must be considered. To prevent eye strain, #FFFFFF text pairs best with this hex code. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.
Color Space Conversions
HEX#5F428A
RGB95, 66, 138
HSL264.2°, 35.3%, 40.0%
CMYK31%, 52%, 0%, 46%
HSV264.2°, 52.2%, 54.1%
LAB34.3, 28.6, -35.7
XYZ11.3, 8.2, 25.0
Decimal6242954
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
7.98:1
Text on #FFFFFF
AAA
2.63:1
Text on #000000
FAIL
7.62:1
Text on #F8FAFC
AAA
2.24:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #5F428A;
}
.text-color {
color: #5F428A;
}
.border-color {
border: 2px solid #5F428A;
}