#5F166D

A dark, moderate magenta closely aligning with Purple.

About #5F166D

The hex code #5F166D represents a beautifully specific shade of magenta. Its closest recognized web color is Purple. This translates to an RGB value of rgb(95, 22, 109).

For print applications, it's crucial to understand its CMYK makeup. To reproduce this shade on paper, a printer utilizes 13% cyan and 80% magenta inks. Always request a physical proof before doing a large print run with this exact code.

Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. 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#5F166D
RGB95, 22, 109
HSL290.3°, 66.4%, 25.7%
CMYK13%, 80%, 0%, 57%
HSV290.3°, 79.8%, 42.7%
LAB24.0, 44.4, -33.9
XYZ7.8, 4.1, 14.9
Decimal6231661

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

11.52:1
Text on #FFFFFF
AAA
1.82:1
Text on #000000
FAIL
11.02:1
Text on #F8FAFC
AAA
1.55:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Purple
#800080