Color #521e49
A moderately saturated dark magenta.
Conversions
#521e49
rgb(82, 30, 73)
hsl(310.4, 46.4%, 22%)
hsv(310.4, 63.4%, 32.2%)
cmyk(0%, 63.4%, 11%, 67.8%)
lab(20.84, 30.36, -15.24)
lch(20.84, 33.97, 333.34)
oklch(33%, 0.0973, 334.81)
hwb(310.4, 11.8%, 67.8%)
Harmony colors
Accessibility
White text reads better on this background (12.8:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#414141 · ΔE 22.7
Deuteranopia
#444740 · ΔE 30.5
Tritanopia
#503b39 · ΔE 17.9
Achromatopsia
#323232 · ΔE 22.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #521e49;
bg-[#521e49]
Related colors
Frequently asked questions
#521e49 (#521e49) is rgb(82, 30, 73) in RGB.
No, #521e49 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 #521e49, or check how it holds up for accessibility.