Color #4d4252
A nearly neutral, gray-leaning dark purple.
Conversions
#4d4252
rgb(77, 66, 82)
hsl(281.2, 10.8%, 29%)
hsv(281.2, 19.5%, 32.2%)
cmyk(6.1%, 19.5%, 0%, 67.8%)
lab(29.62, 8.15, -7.85)
lch(29.62, 11.32, 316.07)
oklch(39.6%, 0.03, 315.27)
hwb(281.2, 25.9%, 67.8%)
Harmony colors
Accessibility
White text reads better on this background (9.47:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#48484e · ΔE 8.1
Deuteranopia
#494a4e · ΔE 9.6
Tritanopia
#4c4c4b · ΔE 11.9
Achromatopsia
#464646 · ΔE 10.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4d4252;
bg-[#4d4252]
Related colors
Frequently asked questions
#4d4252 (#4d4252) is rgb(77, 66, 82) in RGB.
No, #4d4252 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 #4d4252, or check how it holds up for accessibility.