#5F0F8A
A dark, vivid purple closely aligning with Indigo.
About #5F0F8A
The precise color #5F0F8A is an excellent choice for modern design projects. If you're using CSS, you might find it aligns closely with Indigo. In the RGB color space, it consists of 95 red, 15 green, and 138 blue.
While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). This specific hue requires a mix of 31% C, 89% M, 0% Y, and 46% K. With a hue angle of 279.0 degrees, it sits comfortably in the purple spectrum.
From a UX and accessibility standpoint, contrast is paramount. Because it is a dark color, it is generally recommended to use #FFFFFF text. You can view the detailed AAA and AA pass/fail metrics in the table below.
Color Space Conversions
HEX#5F0F8A
RGB95, 15, 138
HSL279.0°, 80.4%, 30.0%
CMYK31%, 89%, 0%, 46%
HSV279.0°, 89.1%, 54.1%
LAB25.6, 52.6, -49.8
XYZ9.5, 4.6, 24.4
Decimal6229898
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
10.93:1
Text on #FFFFFF
AAA
1.92:1
Text on #000000
FAIL
10.44:1
Text on #F8FAFC
AAA
1.63:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #5F0F8A;
}
.text-color {
color: #5F0F8A;
}
.border-color {
border: 2px solid #5F0F8A;
}