Color #5d3f9b
A moderately saturated medium blue.
Conversions
#5d3f9b
rgb(93, 63, 155)
hsl(259.6, 42.2%, 42.7%)
hsv(259.6, 59.4%, 60.8%)
cmyk(40%, 59.4%, 0%, 39.2%)
lab(34.5, 34.61, -45.85)
lch(34.5, 57.45, 307.05)
oklch(45%, 0.1439, 295)
hwb(259.6, 24.7%, 39.2%)
Harmony colors
Accessibility
White text reads better on this background (7.93:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#52518c · ΔE 8
Deuteranopia
#535588 · ΔE 9.7
Tritanopia
#5c7e7a · ΔE 31.1
Achromatopsia
#515151 · ΔE 25.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5d3f9b;
bg-[#5d3f9b]
Related colors
Frequently asked questions
#5d3f9b (#5d3f9b) is rgb(93, 63, 155) in RGB.
No, #5d3f9b 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 #5d3f9b, or check how it holds up for accessibility.