Color #5e5174
A muted dark purple.
Conversions
#5e5174
rgb(94, 81, 116)
hsl(262.3, 17.8%, 38.6%)
hsv(262.3, 30.2%, 45.5%)
cmyk(19%, 30.2%, 0%, 54.5%)
lab(36.98, 13.15, -18.01)
lch(36.98, 22.3, 306.14)
oklch(46.2%, 0.0579, 301.22)
hwb(262.3, 31.8%, 54.5%)
Harmony colors
Accessibility
White text reads better on this background (7.23:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#59596d · ΔE 7.8
Deuteranopia
#595a6b · ΔE 9.2
Tritanopia
#5d6765 · ΔE 20.9
Achromatopsia
#575757 · ΔE 16.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5e5174;
bg-[#5e5174]
Related colors
Frequently asked questions
#5e5174 (#5e5174) is rgb(94, 81, 116) in RGB.
No, #5e5174 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 #5e5174, or check how it holds up for accessibility.