Color #5e4987
A muted medium purple.
Conversions
#5e4987
rgb(94, 73, 135)
hsl(260.3, 29.8%, 40.8%)
hsv(260.3, 45.9%, 52.9%)
cmyk(30.4%, 45.9%, 0%, 47.1%)
lab(35.78, 23.18, -31.6)
lch(35.78, 39.19, 306.26)
oklch(45.6%, 0.1003, 297.94)
hwb(260.3, 28.6%, 47.1%)
Harmony colors
Accessibility
White text reads better on this background (7.56:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#56557b · ΔE 7.2
Deuteranopia
#575879 · ΔE 8.8
Tritanopia
#5d716f · ΔE 25.4
Achromatopsia
#545454 · ΔE 22
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5e4987;
bg-[#5e4987]
Related colors
Frequently asked questions
#5e4987 (#5e4987) is rgb(94, 73, 135) in RGB.
No, #5e4987 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #5e4987, or check how it holds up for accessibility.