Color #4d2a56
A muted dark purple.
Conversions
#4d2a56
rgb(77, 42, 86)
hsl(287.7, 34.4%, 25.1%)
hsv(287.7, 51.2%, 33.7%)
cmyk(10.5%, 51.2%, 0%, 66.3%)
lab(23.36, 24.54, -20.1)
lch(23.36, 31.72, 320.68)
oklch(34.9%, 0.085, 319.15)
hwb(287.7, 16.5%, 66.3%)
Harmony colors
Accessibility
White text reads better on this background (11.79:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#41404e · ΔE 15.1
Deuteranopia
#42454c · ΔE 19
Tritanopia
#4c4745 · ΔE 21.3
Achromatopsia
#383838 · ΔE 21
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #4d2a56;
bg-[#4d2a56]
Related colors
Frequently asked questions
#4d2a56 (#4d2a56) is rgb(77, 42, 86) in RGB.
No, #4d2a56 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 #4d2a56, or check how it holds up for accessibility.