Color #51474e
A nearly neutral, gray-leaning dark magenta.
Conversions
#51474e
rgb(81, 71, 78)
hsl(318, 6.6%, 29.8%)
hsv(318, 12.3%, 31.8%)
cmyk(0%, 12.3%, 3.7%, 68.2%)
lab(31.36, 5.66, -2.63)
lch(31.36, 6.24, 335.08)
oklch(41%, 0.0175, 336.8)
hwb(318, 27.8%, 68.2%)
Harmony colors
Accessibility
White text reads better on this background (8.89:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4d4d4c · ΔE 8.1
Deuteranopia
#4d4e4c · ΔE 9.3
Tritanopia
#514b4b · ΔE 4.9
Achromatopsia
#4a4a4a · ΔE 7.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #51474e;
bg-[#51474e]
Related colors
Frequently asked questions
#51474e (#51474e) is rgb(81, 71, 78) in RGB.
No, #51474e 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 #51474e, or check how it holds up for accessibility.