#5F1657

A dark, moderate magenta closely aligning with Purple.

About #5F1657

The precise color #5F1657 is an excellent choice for modern design projects. If you're using CSS, you might find it aligns closely with Purple. This translates to an RGB value of rgb(95, 22, 87).

For print applications, it's crucial to understand its CMYK makeup. This specific hue requires a mix of 0% C, 77% M, 8% Y, and 63% K. With a hue angle of 306.6 degrees, it sits comfortably in the magenta spectrum.

When using this color as a background, text legibility must be considered. 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#5F1657
RGB95, 22, 87
HSL306.6°, 62.4%, 22.9%
CMYK0%, 77%, 8%, 63%
HSV306.6°, 76.8%, 37.3%
LAB22.6, 40.3, -21.7
XYZ6.7, 3.7, 9.4
Decimal6231639

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

12.08:1
Text on #FFFFFF
AAA
1.74:1
Text on #000000
FAIL
11.54:1
Text on #F8FAFC
AAA
1.48:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Purple
#800080