#5F07A8
A dark, vivid purple closely aligning with Indigo.
About #5F07A8
The hex code #5F07A8 represents a beautifully specific shade of purple. It is closely associated with the named CSS color Indigo. This translates to an RGB value of rgb(95, 7, 168).
Translating this color to physical media requires the CMYK color model. To reproduce this shade on paper, a printer utilizes 43% cyan and 96% magenta inks. The HSL representation is 272.8° hue, 92.0% saturation, and 34.3% lightness.
When using this color as a background, text legibility must be considered. The calculated luminance score dictates that #FFFFFF typography is the safest choice. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#5F07A8
RGB95, 7, 168
HSL272.8°, 92.0%, 34.3%
CMYK43%, 96%, 0%, 34%
HSV272.8°, 95.8%, 65.9%
LAB27.9, 60.7, -64.5
XYZ11.9, 5.4, 37.5
Decimal6227880
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
10.08:1
Text on #FFFFFF
AAA
2.08:1
Text on #000000
FAIL
9.64:1
Text on #F8FAFC
AAA
1.77:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #5F07A8;
}
.text-color {
color: #5F07A8;
}
.border-color {
border: 2px solid #5F07A8;
}