Color #5b2f4b
A muted dark magenta.
Conversions
#5b2f4b
rgb(91, 47, 75)
hsl(321.8, 31.9%, 27.1%)
hsv(321.8, 48.4%, 35.7%)
cmyk(0%, 48.4%, 17.6%, 64.3%)
lab(26.06, 24.25, -8.47)
lch(26.06, 25.69, 340.75)
oklch(37.2%, 0.0751, 342.55)
hwb(321.8, 18.4%, 64.3%)
Harmony colors
Accessibility
White text reads better on this background (10.75:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4c4b45 · ΔE 24.4
Deuteranopia
#4e5144 · ΔE 31
Tritanopia
#59413f · ΔE 13.4
Achromatopsia
#3e3e3e · ΔE 20
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5b2f4b;
bg-[#5b2f4b]
Related colors
Frequently asked questions
#5b2f4b (#5b2f4b) is rgb(91, 47, 75) in RGB.
No, #5b2f4b 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 #5b2f4b, or check how it holds up for accessibility.