Color #52417c
A muted dark blue.
Conversions
#52417c
rgb(82, 65, 124)
hsl(257.3, 31.2%, 37.1%)
hsv(257.3, 47.6%, 48.6%)
cmyk(33.9%, 47.6%, 0%, 51.4%)
lab(31.87, 21.6, -31.05)
lch(31.87, 37.82, 304.82)
oklch(42.1%, 0.0965, 295.21)
hwb(257.3, 25.5%, 51.4%)
Harmony colors
Accessibility
White text reads better on this background (8.73:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4b4b71 · ΔE 6.4
Deuteranopia
#4c4d6e · ΔE 7.8
Tritanopia
#516865 · ΔE 26.2
Achromatopsia
#4b4b4b · ΔE 21.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #52417c;
bg-[#52417c]
Related colors
Frequently asked questions
#52417c (#52417c) is rgb(82, 65, 124) in RGB.
No, #52417c 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 #52417c, or check how it holds up for accessibility.