Color #4d2254
A moderately saturated dark magenta.
Conversions
#4d2254
rgb(77, 34, 84)
hsl(291.6, 42.4%, 23.1%)
hsv(291.6, 59.5%, 32.9%)
cmyk(8.3%, 59.5%, 0%, 67.1%)
lab(21.44, 28.83, -21.79)
lch(21.44, 36.14, 322.92)
oklch(33.5%, 0.0978, 321.85)
hwb(291.6, 13.3%, 67.1%)
Harmony colors
Accessibility
White text reads better on this background (12.56:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3f3e4b · ΔE 16.9
Deuteranopia
#414349 · ΔE 20.4
Tritanopia
#4b4442 · ΔE 22.2
Achromatopsia
#333333 · ΔE 22.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4d2254;
bg-[#4d2254]
Related colors
Frequently asked questions
#4d2254 (#4d2254) is rgb(77, 34, 84) in RGB.
No, #4d2254 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 #4d2254, or check how it holds up for accessibility.