Color #5e516c
A nearly neutral, gray-leaning dark purple.
Conversions
#5e516c
rgb(94, 81, 108)
hsl(268.9, 14.3%, 37.1%)
hsv(268.9, 25%, 42.4%)
cmyk(13%, 25%, 0%, 57.6%)
lab(36.64, 11.19, -13.55)
lch(36.64, 17.57, 309.55)
oklch(45.8%, 0.0459, 306.5)
hwb(268.9, 31.8%, 57.6%)
Harmony colors
Accessibility
White text reads better on this background (7.32:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#595966 · ΔE 8.6
Deuteranopia
#595a65 · ΔE 9.9
Tritanopia
#5d6160 · ΔE 16.8
Achromatopsia
#565656 · ΔE 14.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5e516c;
bg-[#5e516c]
Related colors
Frequently asked questions
#5e516c (#5e516c) is rgb(94, 81, 108) in RGB.
No, #5e516c 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 #5e516c, or check how it holds up for accessibility.