#5F508A

A medium, muted purple closely aligning with Darkslateblue.

About #5F508A

The hex code #5F508A represents a beautifully specific shade of purple. If you're using CSS, you might find it aligns closely with Darkslateblue. To achieve this exact tint on a monitor, you would use an RGB mix of 95, 80, and 138.

When sending designs containing this color to a printer, the CMYK values come into play. Its ink density profile breaks down to 31% cyan, 42% magenta, 0% yellow, and 46% black. Always request a physical proof before doing a large print run with this exact code.

Ensuring your text is legible against this background is a key part of web design. Because it is a medium color, it is generally recommended to use #FFFFFF text. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#5F508A
RGB95, 80, 138
HSL255.5°, 26.6%, 42.7%
CMYK31%, 42%, 0%, 46%
HSV255.5°, 42.0%, 54.1%
LAB37.9, 19.9, -30.2
XYZ12.2, 10.0, 25.3
Decimal6246538

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

7.00:1
Text on #FFFFFF
AA
3.00:1
Text on #000000
AA Large
6.69:1
Text on #F8FAFC
AA
2.55:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Darkslateblue
#483D8B