Color #4d2140
A moderately saturated dark magenta.
Conversions
#4d2140
rgb(77, 33, 64)
hsl(317.7, 40%, 21.6%)
hsv(317.7, 57.1%, 30.2%)
cmyk(0%, 57.1%, 16.9%, 69.8%)
lab(20.19, 25.3, -10.16)
lch(20.19, 27.26, 338.12)
oklch(32.2%, 0.0793, 339.94)
hwb(317.7, 12.9%, 69.8%)
Harmony colors
Accessibility
White text reads better on this background (13.07:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3e3e3a · ΔE 24.3
Deuteranopia
#414339 · ΔE 29.7
Tritanopia
#4b3534 · ΔE 14.1
Achromatopsia
#313131 · ΔE 20.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4d2140;
bg-[#4d2140]
Related colors
Frequently asked questions
#4d2140 (#4d2140) is rgb(77, 33, 64) in RGB.
No, #4d2140 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 #4d2140, or check how it holds up for accessibility.