Color #5d4ea7
A muted medium blue.
Conversions
#5d4ea7
rgb(93, 78, 167)
hsl(250.1, 36.3%, 48%)
hsv(250.1, 53.3%, 65.5%)
cmyk(44.3%, 53.3%, 0%, 34.5%)
lab(38.84, 29.01, -46.07)
lch(38.84, 54.44, 302.2)
oklch(48.5%, 0.1377, 287.9)
hwb(250.1, 30.6%, 34.5%)
Harmony colors
Accessibility
White text reads better on this background (6.75:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#575797 · ΔE 5
Deuteranopia
#585993 · ΔE 6.2
Tritanopia
#5c8986 · ΔE 31.4
Achromatopsia
#5b5b5b · ΔE 24.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5d4ea7;
bg-[#5d4ea7]
Related colors
Frequently asked questions
#5d4ea7 (#5d4ea7) is rgb(93, 78, 167) in RGB.
No, #5d4ea7 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 #5d4ea7, or check how it holds up for accessibility.