Color #5a477e
A muted dark purple.
Conversions
#5a477e
rgb(90, 71, 126)
hsl(260.7, 27.9%, 38.6%)
hsv(260.7, 43.7%, 49.4%)
cmyk(28.6%, 43.7%, 0%, 50.6%)
lab(34.37, 20.77, -28.3)
lch(34.37, 35.1, 306.28)
oklch(44.3%, 0.0901, 298.59)
hwb(260.7, 27.8%, 50.6%)
Harmony colors
Accessibility
White text reads better on this background (7.96:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#525274 · ΔE 7.3
Deuteranopia
#535571 · ΔE 9.3
Tritanopia
#596b68 · ΔE 25.4
Achromatopsia
#515151 · ΔE 21.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a477e;
bg-[#5a477e]
Related colors
Frequently asked questions
#5a477e (#5a477e) is rgb(90, 71, 126) in RGB.
No, #5a477e 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 #5a477e, or check how it holds up for accessibility.