Color #5a2d66
A muted dark purple.
Conversions
#5a2d66
rgb(90, 45, 102)
hsl(287.4, 38.8%, 28.8%)
hsv(287.4, 55.9%, 40%)
cmyk(11.8%, 55.9%, 0%, 60%)
lab(26.76, 30.64, -25.1)
lch(26.76, 39.61, 320.68)
oklch(38.2%, 0.1059, 318.83)
hwb(287.4, 17.6%, 60%)
Harmony colors
Accessibility
White text reads better on this background (10.49:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4a4a5c · ΔE 16.1
Deuteranopia
#4d5059 · ΔE 19.8
Tritanopia
#585351 · ΔE 23.8
Achromatopsia
#3f3f3f · ΔE 22.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a2d66;
bg-[#5a2d66]
Related colors
Frequently asked questions
#5a2d66 (#5a2d66) is rgb(90, 45, 102) in RGB.
No, #5a2d66 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 #5a2d66, or check how it holds up for accessibility.