Color #5b5a5b
A nearly neutral, gray-leaning dark magenta.
Conversions
#5b5a5b
rgb(91, 90, 91)
hsl(300, 0.6%, 35.5%)
hsv(300, 1.1%, 35.7%)
cmyk(0%, 1.1%, 0%, 64.3%)
lab(38.36, 0.61, -0.43)
lch(38.36, 0.75, 324.82)
oklch(46.9%, 0.002, 327.09)
hwb(300, 35.3%, 64.3%)
Harmony colors
Accessibility
White text reads better on this background (6.87:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#5b5b5b · ΔE 1
Deuteranopia
#5b5b5b · ΔE 1
Tritanopia
#5b5b5b · ΔE 1
Achromatopsia
#5a5a5a · ΔE 1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5b5a5b;
bg-[#5b5a5b]
Related colors
Frequently asked questions
#5b5a5b (#5b5a5b) is rgb(91, 90, 91) in RGB.
No, #5b5a5b 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 #5b5a5b, or check how it holds up for accessibility.