Color #5a4e92
A muted medium blue.
Conversions
#5a4e92
rgb(90, 78, 146)
hsl(250.6, 30.4%, 43.9%)
hsv(250.6, 46.6%, 57.3%)
cmyk(38.4%, 46.6%, 0%, 42.7%)
lab(37.29, 22, -35.93)
lch(37.29, 42.13, 301.48)
oklch(46.8%, 0.1077, 289.7)
hwb(250.6, 30.6%, 42.7%)
Harmony colors
Accessibility
White text reads better on this background (7.14:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#555585 · ΔE 4.7
Deuteranopia
#565782 · ΔE 5.9
Tritanopia
#597a78 · ΔE 27.2
Achromatopsia
#585858 · ΔE 22.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a4e92;
bg-[#5a4e92]
Related colors
Frequently asked questions
#5a4e92 (#5a4e92) is rgb(90, 78, 146) in RGB.
No, #5a4e92 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 #5a4e92, or check how it holds up for accessibility.