#5F336D

A dark, moderate magenta closely aligning with Darkslateblue.

About #5F336D

The hex code #5F336D represents a beautifully specific shade of magenta. If you're using CSS, you might find it aligns closely with Darkslateblue. Its digital footprint relies on 95 parts red, 51 parts green, and 109 parts blue light.

Translating this color to physical media requires the CMYK color model. This specific hue requires a mix of 13% C, 53% M, 0% Y, and 57% K. The HSL representation is 285.5° hue, 36.2% saturation, and 31.4% lightness.

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. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#5F336D
RGB95, 51, 109
HSL285.5°, 36.2%, 31.4%
CMYK13%, 53%, 0%, 57%
HSV285.5°, 53.2%, 42.7%
LAB29.2, 30.3, -25.8
XYZ8.7, 5.9, 15.2
Decimal6239085

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

9.63:1
Text on #FFFFFF
AAA
2.18:1
Text on #000000
FAIL
9.20:1
Text on #F8FAFC
AAA
1.85:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Darkslateblue
#483D8B