Color #5a4972
A muted dark purple.
Conversions
#5a4972
rgb(90, 73, 114)
hsl(264.9, 21.9%, 36.7%)
hsv(264.9, 36%, 44.7%)
cmyk(21.1%, 36%, 0%, 55.3%)
lab(34.3, 16.33, -20.93)
lch(34.3, 26.55, 307.96)
oklch(44%, 0.0688, 302.72)
hwb(264.9, 28.6%, 55.3%)
Harmony colors
Accessibility
White text reads better on this background (7.98:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#53536a · ΔE 8.6
Deuteranopia
#545568 · ΔE 10.3
Tritanopia
#596361 · ΔE 22.3
Achromatopsia
#515151 · ΔE 18.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a4972;
bg-[#5a4972]
Related colors
Frequently asked questions
#5a4972 (#5a4972) is rgb(90, 73, 114) in RGB.
No, #5a4972 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 #5a4972, or check how it holds up for accessibility.