Color #5d419e
A moderately saturated medium blue.
Conversions
#5d419e
rgb(93, 65, 158)
hsl(258.1, 41.7%, 43.7%)
hsv(258.1, 58.9%, 62%)
cmyk(41.1%, 58.9%, 0%, 38%)
lab(35.15, 34.28, -46.6)
lch(35.15, 57.85, 306.34)
oklch(45.5%, 0.1449, 293.73)
hwb(258.1, 25.5%, 38%)
Harmony colors
Accessibility
White text reads better on this background (7.73:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#52528e · ΔE 7.7
Deuteranopia
#54568a · ΔE 9.4
Tritanopia
#5c807d · ΔE 30.8
Achromatopsia
#535353 · ΔE 25.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5d419e;
bg-[#5d419e]
Related colors
Frequently asked questions
#5d419e (#5d419e) is rgb(93, 65, 158) in RGB.
No, #5d419e 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 #5d419e, or check how it holds up for accessibility.