Color #5a5258
A nearly neutral, gray-leaning dark magenta.
Conversions
#5a5258
rgb(90, 82, 88)
hsl(315, 4.7%, 33.7%)
hsv(315, 8.9%, 35.3%)
cmyk(0%, 8.9%, 2.2%, 64.7%)
lab(35.82, 4.51, -2.31)
lch(35.82, 5.07, 332.88)
oklch(44.8%, 0.0141, 334.34)
hwb(315, 32.2%, 64.7%)
Harmony colors
Accessibility
White text reads better on this background (7.55:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#575757 · ΔE 6.2
Deuteranopia
#575856 · ΔE 8
Tritanopia
#5a5555 · ΔE 4.1
Achromatopsia
#545454 · ΔE 6.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a5258;
bg-[#5a5258]
Related colors
Frequently asked questions
#5a5258 (#5a5258) is rgb(90, 82, 88) in RGB.
No, #5a5258 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 #5a5258, or check how it holds up for accessibility.