Color #7e4872
A muted dark magenta.
Conversions
#7e4872
rgb(126, 72, 114)
hsl(313.3, 27.3%, 38.8%)
hsv(313.3, 42.9%, 49.4%)
cmyk(0%, 42.9%, 9.5%, 50.6%)
lab(38.35, 29.53, -14.34)
lch(38.35, 32.83, 334.1)
oklch(48%, 0.0935, 335.63)
hwb(313.3, 28.2%, 50.6%)
Harmony colors
Accessibility
White text reads better on this background (6.87:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#6b6a6a · ΔE 22.4
Deuteranopia
#6e7168 · ΔE 31.3
Tritanopia
#7c6361 · ΔE 17.3
Achromatopsia
#5a5a5a · ΔE 22
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7e4872;
bg-[#7e4872]
Related colors
Frequently asked questions
#7e4872 (#7e4872) is rgb(126, 72, 114) in RGB.
No, #7e4872 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 #7e4872, or check how it holds up for accessibility.