Color #52265e
A moderately saturated dark purple.
Conversions
#52265e
rgb(82, 38, 94)
hsl(287.1, 42.4%, 25.9%)
hsv(287.1, 59.6%, 36.9%)
cmyk(12.8%, 59.6%, 0%, 63.1%)
lab(23.63, 30.36, -24.9)
lch(23.63, 39.26, 320.64)
oklch(35.4%, 0.1049, 318.63)
hwb(287.1, 14.9%, 63.1%)
Harmony colors
Accessibility
White text reads better on this background (11.68:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#434354 · ΔE 16.3
Deuteranopia
#454852 · ΔE 19.4
Tritanopia
#504c4a · ΔE 23.9
Achromatopsia
#383838 · ΔE 22.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #52265e;
bg-[#52265e]
Related colors
Frequently asked questions
#52265e (#52265e) is rgb(82, 38, 94) in RGB.
No, #52265e 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 #52265e, or check how it holds up for accessibility.