#5F165F

A dark, moderate magenta closely aligning with Purple.

About #5F165F

The precise color #5F165F is an excellent choice for modern design projects. It is closely associated with the named CSS color Purple. This translates to an RGB value of rgb(95, 22, 95).

When sending designs containing this color to a printer, the CMYK values come into play. This specific hue requires a mix of 0% C, 77% M, 0% Y, and 63% K. The HSL representation is 300.0° hue, 62.4% saturation, and 22.9% lightness.

From a UX and accessibility standpoint, contrast is paramount. To prevent eye strain, #FFFFFF text pairs best with this hex code. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#5F165F
RGB95, 22, 95
HSL300.0°, 62.4%, 22.9%
CMYK0%, 77%, 0%, 63%
HSV300.0°, 76.8%, 37.3%
LAB23.1, 41.7, -26.3
XYZ7.1, 3.8, 11.2
Decimal6231647

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

11.89:1
Text on #FFFFFF
AAA
1.77:1
Text on #000000
FAIL
11.36:1
Text on #F8FAFC
AAA
1.50:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Purple
#800080