Color #7e3170
A moderately saturated dark magenta.
Conversions
#7e3170
rgb(126, 49, 112)
hsl(310.9, 44%, 34.3%)
hsv(310.9, 61.1%, 49.4%)
cmyk(0%, 61.1%, 11.1%, 50.6%)
lab(33.57, 41.47, -20.44)
lch(33.57, 46.23, 333.76)
oklch(44.5%, 0.1327, 335.27)
hwb(310.9, 19.2%, 50.6%)
Harmony colors
Accessibility
White text reads better on this background (8.2:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#666565 · ΔE 25.3
Deuteranopia
#696e62 · ΔE 36.7
Tritanopia
#7b5b59 · ΔE 20.8
Achromatopsia
#4f4f4f · ΔE 24.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7e3170;
bg-[#7e3170]
Related colors
Frequently asked questions
#7e3170 (#7e3170) is rgb(126, 49, 112) in RGB.
No, #7e3170 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 #7e3170, or check how it holds up for accessibility.