Color #5f586a
A nearly neutral, gray-leaning dark purple.
Conversions
#5f586a
rgb(95, 88, 106)
hsl(263.3, 9.3%, 38%)
hsv(263.3, 17%, 41.6%)
cmyk(10.4%, 17%, 0%, 58.4%)
lab(38.64, 6.72, -9.27)
lch(38.64, 11.45, 305.94)
oklch(47.4%, 0.0298, 302.94)
hwb(263.3, 34.5%, 58.4%)
Harmony colors
Accessibility
White text reads better on this background (6.79:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5c5c66 · ΔE 5.5
Deuteranopia
#5c5d65 · ΔE 6.8
Tritanopia
#5f6362 · ΔE 12.8
Achromatopsia
#5b5b5b · ΔE 10.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5f586a;
bg-[#5f586a]
Related colors
Frequently asked questions
#5f586a (#5f586a) is rgb(95, 88, 106) in RGB.
No, #5f586a 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 #5f586a, or check how it holds up for accessibility.