Color #5a244e
A moderately saturated dark magenta.
Conversions
#5a244e
rgb(90, 36, 78)
hsl(313.3, 42.9%, 24.7%)
hsv(313.3, 60%, 35.3%)
cmyk(0%, 60%, 13.3%, 64.7%)
lab(23.62, 30.72, -14.2)
lch(23.62, 33.84, 335.19)
oklch(35.4%, 0.0976, 336.82)
hwb(313.3, 14.1%, 64.7%)
Harmony colors
Accessibility
White text reads better on this background (11.69:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#484846 · ΔE 24.7
Deuteranopia
#4b4e44 · ΔE 32.2
Tritanopia
#58403e · ΔE 17.2
Achromatopsia
#383838 · ΔE 22.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a244e;
bg-[#5a244e]
Related colors
Frequently asked questions
#5a244e (#5a244e) is rgb(90, 36, 78) in RGB.
No, #5a244e 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 #5a244e, or check how it holds up for accessibility.