Color #5a184f
A moderately saturated dark magenta.
Conversions
#5a184f
rgb(90, 24, 79)
hsl(310, 57.9%, 22.4%)
hsv(310, 73.3%, 35.3%)
cmyk(0%, 73.3%, 12.2%, 64.7%)
lab(21.55, 36.73, -18.1)
lch(21.55, 40.95, 333.77)
oklch(33.9%, 0.1179, 335.28)
hwb(310, 9.4%, 64.7%)
Harmony colors
Accessibility
White text reads better on this background (12.51:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#464646 · ΔE 24.3
Deuteranopia
#494d44 · ΔE 33.6
Tritanopia
#583e3c · ΔE 19.5
Achromatopsia
#343434 · ΔE 23.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5a184f;
bg-[#5a184f]
Related colors
Frequently asked questions
#5a184f (#5a184f) is rgb(90, 24, 79) in RGB.
No, #5a184f 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 #5a184f, or check how it holds up for accessibility.