#5F1DA8

A dark, vivid purple closely aligning with Indigo.

About #5F1DA8

At its core, #5F1DA8 is a dark and vivid hue. It is closely associated with the named CSS color Indigo. In the RGB color space, it consists of 95 red, 29 green, and 168 blue.

For print applications, it's crucial to understand its CMYK makeup. The color uses 43% Cyan, 83% Magenta, 0% Yellow, and 34% Black. With a hue angle of 268.5 degrees, it sits comfortably in the purple spectrum.

Contrast ratios determine whether this color is safe for typography. To prevent eye strain, #FFFFFF text pairs best with this hex code. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#5F1DA8
RGB95, 29, 168
HSL268.5°, 70.6%, 38.6%
CMYK43%, 83%, 0%, 34%
HSV268.5°, 82.7%, 65.9%
LAB29.8, 55.2, -61.4
XYZ12.2, 6.1, 37.6
Decimal6233512

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

9.43:1
Text on #FFFFFF
AAA
2.23:1
Text on #000000
FAIL
9.01:1
Text on #F8FAFC
AAA
1.89:1
Text on #0F172A
FAIL

CSS Implementation

.bg-color { background-color: #5F1DA8; }
.text-color { color: #5F1DA8; }
.border-color { border: 2px solid #5F1DA8; }

Similar Colors

Indigo
#4B0082