#5F42B6

A medium, moderate purple closely aligning with Slateblue.

About #5F42B6

The hex code #5F42B6 represents a beautifully specific shade of purple. It is closely associated with the named CSS color Slateblue. To achieve this exact tint on a monitor, you would use an RGB mix of 95, 66, and 182.

If you are designing for print, the four-color process is what matters most. This specific hue requires a mix of 48% C, 64% M, 0% Y, and 29% K. This makes it a relatively light color when applied to physical surfaces.

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. Always test your color combinations using a contrast checker before publishing.

Color Space Conversions

HEX#5F42B6
RGB95, 66, 182
HSL255.0°, 46.8%, 48.6%
CMYK48%, 64%, 0%, 29%
HSV255.0°, 63.7%, 71.4%
LAB37.3, 41.1, -57.4
XYZ15.1, 9.7, 45.3
Decimal6242998

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

7.14:1
Text on #FFFFFF
AAA
2.94:1
Text on #000000
FAIL
6.82:1
Text on #F8FAFC
AA
2.50:1
Text on #0F172A
FAIL

CSS Implementation

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

Similar Colors

Slateblue
#6A5ACD