Color #5a3357
A muted dark magenta.
Conversions
#5a3357
rgb(90, 51, 87)
hsl(304.6, 27.7%, 27.6%)
hsv(304.6, 43.3%, 35.3%)
cmyk(0%, 43.3%, 3.3%, 64.7%)
lab(27.38, 23.8, -14.38)
lch(27.38, 27.81, 328.86)
oklch(38.4%, 0.0774, 329.76)
hwb(304.6, 20%, 64.7%)
Harmony colors
Accessibility
White text reads better on this background (10.26:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4c4c50 · ΔE 19
Deuteranopia
#4e514e · ΔE 25.6
Tritanopia
#594a49 · ΔE 16.7
Achromatopsia
#414141 · ΔE 20.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a3357;
bg-[#5a3357]
Related colors
Frequently asked questions
#5a3357 (#5a3357) is rgb(90, 51, 87) in RGB.
No, #5a3357 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 #5a3357, or check how it holds up for accessibility.