Color #5b5259
A nearly neutral, gray-leaning dark magenta.
Conversions
#5b5259
rgb(91, 82, 89)
hsl(313.3, 5.2%, 33.9%)
hsv(313.3, 9.9%, 35.7%)
cmyk(0%, 9.9%, 2.2%, 64.3%)
lab(35.95, 5.12, -2.74)
lch(35.95, 5.81, 331.85)
oklch(45%, 0.0161, 333.43)
hwb(313.3, 32.2%, 64.3%)
Harmony colors
Accessibility
White text reads better on this background (7.51:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#575757 · ΔE 6.9
Deuteranopia
#585857 · ΔE 7.6
Tritanopia
#5b5656 · ΔE 4.9
Achromatopsia
#555555 · ΔE 6.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5b5259;
bg-[#5b5259]
Related colors
Frequently asked questions
#5b5259 (#5b5259) is rgb(91, 82, 89) in RGB.
No, #5b5259 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 #5b5259, or check how it holds up for accessibility.