Color #5b4165
A muted dark purple.
Conversions
#5b4165
rgb(91, 65, 101)
hsl(283.3, 21.7%, 32.5%)
hsv(283.3, 35.6%, 39.6%)
cmyk(9.9%, 35.6%, 0%, 60.4%)
lab(31.68, 18.54, -16.78)
lch(31.68, 25.01, 317.85)
oklch(41.8%, 0.0665, 316.34)
hwb(283.3, 25.5%, 60.4%)
Harmony colors
Accessibility
White text reads better on this background (8.79:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#51515e · ΔE 13.4
Deuteranopia
#52545c · ΔE 16.2
Tritanopia
#5a5856 · ΔE 19.9
Achromatopsia
#4b4b4b · ΔE 18.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5b4165;
bg-[#5b4165]
Related colors
Frequently asked questions
#5b4165 (#5b4165) is rgb(91, 65, 101) in RGB.
No, #5b4165 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 #5b4165, or check how it holds up for accessibility.