#5F3AC5
A medium, moderate purple closely aligning with Mediumslateblue.
About #5F3AC5
When working with digital screens, the color #5F3AC5 is rendered by mixing light. If you're using CSS, you might find it aligns closely with Mediumslateblue. This translates to an RGB value of rgb(95, 58, 197).
If you are designing for print, the four-color process is what matters most. This specific hue requires a mix of 52% C, 71% M, 0% Y, and 23% K. The HSL representation is 256.0° hue, 54.5% saturation, and 50.0% lightness.
Ensuring your text is legible against this background is a key part of web design. The calculated luminance score dictates that #FFFFFF typography is the safest choice. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#5F3AC5
RGB95, 58, 197
HSL256.0°, 54.5%, 50.0%
CMYK52%, 71%, 0%, 23%
HSV256.0°, 70.6%, 77.3%
LAB36.9, 49.8, -66.9
XYZ16.3, 9.5, 53.8
Decimal6240965
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
7.25:1
Text on #FFFFFF
AAA
2.90:1
Text on #000000
FAIL
6.93:1
Text on #F8FAFC
AA
2.46:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #5F3AC5;
}
.text-color {
color: #5F3AC5;
}
.border-color {
border: 2px solid #5F3AC5;
}