Color #5a4582
A muted dark purple.
Conversions
#5a4582
rgb(90, 69, 130)
hsl(260.7, 30.7%, 39%)
hsv(260.7, 46.9%, 51%)
cmyk(30.8%, 46.9%, 0%, 49%)
lab(34.07, 23.13, -31.25)
lch(34.07, 38.88, 306.51)
oklch(44.1%, 0.0994, 298.09)
hwb(260.7, 27.1%, 49%)
Harmony colors
Accessibility
White text reads better on this background (8.05:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#525277 · ΔE 7.6
Deuteranopia
#535474 · ΔE 9
Tritanopia
#596d6a · ΔE 26
Achromatopsia
#505050 · ΔE 22
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a4582;
bg-[#5a4582]
Related colors
Frequently asked questions
#5a4582 (#5a4582) is rgb(90, 69, 130) in RGB.
No, #5a4582 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 #5a4582, or check how it holds up for accessibility.