Color #5a4c8a
A muted medium blue.
Conversions
#5a4c8a
rgb(90, 76, 138)
hsl(253.5, 29%, 42%)
hsv(253.5, 44.9%, 54.1%)
cmyk(34.8%, 44.9%, 0%, 45.9%)
lab(36.32, 20.96, -32.6)
lch(36.32, 38.76, 302.74)
oklch(45.9%, 0.0991, 292.42)
hwb(253.5, 29.8%, 45.9%)
Harmony colors
Accessibility
White text reads better on this background (7.41:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#54547e · ΔE 5.4
Deuteranopia
#55567b · ΔE 6.7
Tritanopia
#597472 · ΔE 26.1
Achromatopsia
#555555 · ΔE 21.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a4c8a;
bg-[#5a4c8a]
Related colors
Frequently asked questions
#5a4c8a (#5a4c8a) is rgb(90, 76, 138) in RGB.
No, #5a4c8a 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 #5a4c8a, or check how it holds up for accessibility.