Color #4d2456
A moderately saturated dark purple.
Conversions
#4d2456
rgb(77, 36, 86)
hsl(289.2, 41%, 23.9%)
hsv(289.2, 58.1%, 33.7%)
cmyk(10.5%, 58.1%, 0%, 66.3%)
lab(21.99, 28.14, -22.26)
lch(21.99, 35.88, 321.65)
oklch(33.9%, 0.0964, 320.13)
hwb(289.2, 14.1%, 66.3%)
Harmony colors
Accessibility
White text reads better on this background (12.34:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3f3f4d · ΔE 16.6
Deuteranopia
#41444b · ΔE 19.9
Tritanopia
#4c4644 · ΔE 22.4
Achromatopsia
#353535 · ΔE 22.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4d2456;
bg-[#4d2456]
Related colors
Frequently asked questions
#4d2456 (#4d2456) is rgb(77, 36, 86) in RGB.
No, #4d2456 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 #4d2456, or check how it holds up for accessibility.