Color #5d3c94
A moderately saturated medium purple.
Conversions
#5d3c94
rgb(93, 60, 148)
hsl(262.5, 42.3%, 40.8%)
hsv(262.5, 59.5%, 58%)
cmyk(37.2%, 59.5%, 0%, 42%)
lab(33.34, 34.43, -43.45)
lch(33.34, 55.44, 308.39)
oklch(44%, 0.1392, 297.69)
hwb(262.5, 23.5%, 42%)
Harmony colors
Accessibility
White text reads better on this background (8.27:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#515085 · ΔE 8.9
Deuteranopia
#525581 · ΔE 11.1
Tritanopia
#5c7875 · ΔE 29.2
Achromatopsia
#4e4e4e · ΔE 25.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5d3c94;
bg-[#5d3c94]
Related colors
Frequently asked questions
#5d3c94 (#5d3c94) is rgb(93, 60, 148) in RGB.
No, #5d3c94 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 #5d3c94, or check how it holds up for accessibility.