Color #521660
A moderately saturated dark purple.
Conversions
#521660
rgb(82, 22, 96)
hsl(288.6, 62.7%, 23.1%)
hsv(288.6, 77.1%, 37.6%)
cmyk(14.6%, 77.1%, 0%, 62.4%)
lab(20.88, 38.78, -30.62)
lch(20.88, 49.41, 321.71)
oklch(33.5%, 0.1317, 319.28)
hwb(288.6, 8.6%, 62.4%)
Harmony colors
Accessibility
White text reads better on this background (12.79:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#404055 · ΔE 17.5
Deuteranopia
#434652 · ΔE 20.5
Tritanopia
#504b48 · ΔE 26.8
Achromatopsia
#323232 · ΔE 24.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #521660;
bg-[#521660]
Related colors
Frequently asked questions
#521660 (#521660) is rgb(82, 22, 96) in RGB.
No, #521660 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 #521660, or check how it holds up for accessibility.