#5F168A

A dark, vivid purple closely aligning with Indigo.

About #5F168A

When working with digital screens, the color #5F168A is rendered by mixing light. If you're using CSS, you might find it aligns closely with Indigo. In the RGB color space, it consists of 95 red, 22 green, and 138 blue.

When sending designs containing this color to a printer, the CMYK values come into play. Its ink density profile breaks down to 31% cyan, 84% magenta, 0% yellow, and 46% black. This makes it a relatively light color when applied to physical surfaces.

Ensuring your text is legible against this background is a key part of web design. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#5F168A
RGB95, 22, 138
HSL277.8°, 72.5%, 31.4%
CMYK31%, 84%, 0%, 46%
HSV277.8°, 84.1%, 54.1%
LAB26.3, 50.6, -48.7
XYZ9.6, 4.8, 24.5
Decimal6231690

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

10.67:1
Text on #FFFFFF
AAA
1.97:1
Text on #000000
FAIL
10.20:1
Text on #F8FAFC
AAA
1.67:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Indigo
#4B0082