Color #5b2864
A moderately saturated dark magenta.
Conversions
#5b2864
rgb(91, 40, 100)
hsl(291, 42.9%, 27.5%)
hsv(291, 60%, 39.2%)
cmyk(9%, 60%, 0%, 60.8%)
lab(25.75, 33.29, -25.39)
lch(25.75, 41.87, 322.67)
oklch(37.4%, 0.1131, 321.43)
hwb(291, 15.7%, 60.8%)
Harmony colors
Accessibility
White text reads better on this background (10.87:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4a4a5a · ΔE 17.7
Deuteranopia
#4d5057 · ΔE 21
Tritanopia
#59514e · ΔE 24.2
Achromatopsia
#3d3d3d · ΔE 23.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5b2864;
bg-[#5b2864]
Related colors
Frequently asked questions
#5b2864 (#5b2864) is rgb(91, 40, 100) in RGB.
No, #5b2864 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 #5b2864, or check how it holds up for accessibility.