Color #7e3a8b
A moderately saturated dark magenta.
Conversions
#7e3a8b
rgb(126, 58, 139)
hsl(290.4, 41.1%, 38.6%)
hsv(290.4, 58.3%, 54.5%)
cmyk(9.4%, 58.3%, 0%, 45.5%)
lab(36.61, 42.11, -32.49)
lch(36.61, 53.19, 322.35)
oklch(47.1%, 0.1433, 320.95)
hwb(290.4, 22.7%, 45.5%)
Harmony colors
Accessibility
White text reads better on this background (7.33:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#67677d · ΔE 19.1
Deuteranopia
#6b6f7a · ΔE 22.1
Tritanopia
#7c716e · ΔE 27.2
Achromatopsia
#565656 · ΔE 25
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7e3a8b;
bg-[#7e3a8b]
Related colors
Frequently asked questions
#7e3a8b (#7e3a8b) is rgb(126, 58, 139) in RGB.
No, #7e3a8b 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 #7e3a8b, or check how it holds up for accessibility.