Color #521371
A vivid, highly saturated dark purple.
Conversions
#521371
rgb(82, 19, 113)
hsl(280.2, 71.2%, 25.9%)
hsv(280.2, 83.2%, 44.3%)
cmyk(27.4%, 83.2%, 0%, 55.7%)
lab(21.77, 43.67, -40.27)
lch(21.77, 59.4, 317.32)
oklch(34.5%, 0.1517, 311.15)
hwb(280.2, 7.5%, 55.7%)
Harmony colors
Accessibility
White text reads better on this background (12.42:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#403f64 · ΔE 15.2
Deuteranopia
#424660 · ΔE 18.2
Tritanopia
#505855 · ΔE 28.1
Achromatopsia
#343434 · ΔE 25.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #521371;
bg-[#521371]
Related colors
Frequently asked questions
#521371 (#521371) is rgb(82, 19, 113) in RGB.
No, #521371 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 #521371, or check how it holds up for accessibility.