Color #4a4254
A nearly neutral, gray-leaning dark purple.
Conversions
#4a4254
rgb(74, 66, 84)
hsl(266.7, 12%, 29.4%)
hsv(266.7, 21.4%, 32.9%)
cmyk(11.9%, 21.4%, 0%, 67.1%)
lab(29.39, 7.46, -9.52)
lch(29.39, 12.09, 308.08)
oklch(39.4%, 0.0316, 305.2)
hwb(266.7, 25.9%, 67.1%)
Harmony colors
Accessibility
White text reads better on this background (9.55:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#474750 · ΔE 6.5
Deuteranopia
#47484f · ΔE 7.8
Tritanopia
#4a4d4c · ΔE 13
Achromatopsia
#454545 · ΔE 11
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4a4254;
bg-[#4a4254]
Related colors
Frequently asked questions
#4a4254 (#4a4254) is rgb(74, 66, 84) in RGB.
No, #4a4254 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 #4a4254, or check how it holds up for accessibility.