Color #5a2144
A moderately saturated dark magenta.
Conversions
#5a2144
rgb(90, 33, 68)
hsl(323.2, 46.3%, 24.1%)
hsv(323.2, 63.3%, 35.3%)
cmyk(0%, 63.3%, 24.4%, 64.7%)
lab(22.58, 30.59, -9.04)
lch(22.58, 31.9, 343.54)
oklch(34.5%, 0.095, 345.42)
hwb(323.2, 12.9%, 64.7%)
Harmony colors
Accessibility
White text reads better on this background (12.1:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#48473e · ΔE 28.6
Deuteranopia
#4b4e3c · ΔE 35.1
Tritanopia
#583837 · ΔE 13.9
Achromatopsia
#363636 · ΔE 22
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a2144;
bg-[#5a2144]
Related colors
Frequently asked questions
#5a2144 (#5a2144) is rgb(90, 33, 68) in RGB.
No, #5a2144 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 #5a2144, or check how it holds up for accessibility.