Color #5d216b
A moderately saturated dark purple.
Conversions
#5d216b
rgb(93, 33, 107)
hsl(288.6, 52.9%, 27.5%)
hsv(288.6, 69.2%, 42%)
cmyk(13.1%, 69.2%, 0%, 58%)
lab(25.19, 38.92, -30.8)
lch(25.19, 49.63, 321.64)
oklch(37.2%, 0.1326, 319.53)
hwb(288.6, 12.9%, 58%)
Harmony colors
Accessibility
White text reads better on this background (11.08:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4a4a5f · ΔE 17.8
Deuteranopia
#4d505c · ΔE 20.6
Tritanopia
#5b5552 · ΔE 26.7
Achromatopsia
#3c3c3c · ΔE 24.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5d216b;
bg-[#5d216b]
Related colors
Frequently asked questions
#5d216b (#5d216b) is rgb(93, 33, 107) in RGB.
No, #5d216b 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 #5d216b, or check how it holds up for accessibility.