#5A5185 Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #5a5185 graphic
Not a vivid purple but a dusty, inky one, this shade sits between violet and slate blue. #5a5185 works best as a dark UI background or supporting tone, where its muted saturation keeps things moody instead of loud. It flatters warm ochre and coral accents. White text reads clearly on it at about 7.1:1 contrast, well past AA for body copy.

Questions about #5a5185

What is #5a5185 in RGB, HSL and CMYK?
In RGB, #5a5185 is rgb(90, 81, 133), in HSL hsl(250, 24%, 42%) and in CMYK 32%, 39%, 0%, 48%. Browse more shades of purple with names and hex codes.
What colors pair well with #5a5185?
Warm ochre, coral, and burnt orange bring out its cool violet undertones, while cream softens it. Avoid saturated blues and purples nearby, since #5a5185 turns muddy next to colors too close to its own hue.
Is #5a5185 readable on white or black?
#5a5185 has a 7.11:1 contrast ratio on white and 2.95:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it is too faint for text. Try other pairs in the contrast checker.