Color #4f4a56
A nearly neutral, gray-leaning dark purple.
Conversions
#4f4a56
rgb(79, 74, 86)
hsl(265, 7.5%, 31.4%)
hsv(265, 14%, 33.7%)
cmyk(8.1%, 14%, 0%, 66.3%)
lab(32.33, 4.73, -6.34)
lch(32.33, 7.91, 306.73)
oklch(41.8%, 0.0206, 304.54)
hwb(265, 29%, 66.3%)
Harmony colors
Accessibility
White text reads better on this background (8.58:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4d4d53 · ΔE 4.6
Deuteranopia
#4d4e53 · ΔE 5.6
Tritanopia
#4f5151 · ΔE 8.8
Achromatopsia
#4c4c4c · ΔE 7.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4f4a56;
bg-[#4f4a56]
Related colors
Frequently asked questions
#4f4a56 (#4f4a56) is rgb(79, 74, 86) in RGB.
No, #4f4a56 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 #4f4a56, or check how it holds up for accessibility.