Color #5e1a3d
A moderately saturated dark magenta.
Conversions
#5e1a3d
rgb(94, 26, 61)
hsl(329.1, 56.7%, 23.5%)
hsv(329.1, 72.3%, 36.9%)
cmyk(0%, 72.3%, 35.1%, 63.1%)
lab(21.78, 34.3, -5.38)
lch(21.78, 34.72, 351.09)
oklch(34%, 0.1056, 352.49)
hwb(329.1, 10.2%, 63.1%)
Harmony colors
Accessibility
White text reads better on this background (12.42:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#4a4937 · ΔE 33.2
Deuteranopia
#4d5135 · ΔE 38.7
Tritanopia
#5c3130 · ΔE 12.6
Achromatopsia
#343434 · ΔE 22.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #5e1a3d;
bg-[#5e1a3d]
Related colors
Frequently asked questions
#5e1a3d (#5e1a3d) is rgb(94, 26, 61) in RGB.
No, #5e1a3d 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 #5e1a3d, or check how it holds up for accessibility.