#5F008A
A dark, vivid purple closely aligning with Indigo.
About #5F008A
At its core, #5F008A is a dark and vivid hue. Its closest recognized web color is Indigo. To achieve this exact tint on a monitor, you would use an RGB mix of 95, 0, and 138.
Translating this color to physical media requires the CMYK color model. The color uses 31% Cyan, 100% Magenta, 0% Yellow, and 46% Black. The HSL representation is 281.3° hue, 100.0% saturation, and 27.1% 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. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#5F008A
RGB95, 0, 138
HSL281.3°, 100.0%, 27.1%
CMYK31%, 100%, 0%, 46%
HSV281.3°, 100.0%, 54.1%
LAB24.5, 55.7, -51.6
XYZ9.3, 4.3, 24.4
Decimal6226058
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
11.33:1
Text on #FFFFFF
AAA
1.85:1
Text on #000000
FAIL
10.83:1
Text on #F8FAFC
AAA
1.58:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #5F008A;
}
.text-color {
color: #5F008A;
}
.border-color {
border: 2px solid #5F008A;
}