Color #501f46
A moderately saturated dark magenta.
Conversions
#501f46
rgb(80, 31, 70)
hsl(312.2, 44.1%, 21.8%)
hsv(312.2, 61.2%, 31.4%)
cmyk(0%, 61.2%, 12.5%, 68.6%)
lab(20.55, 28.6, -13.67)
lch(20.55, 31.7, 334.45)
oklch(32.7%, 0.0911, 336.05)
hwb(312.2, 12.2%, 68.6%)
Harmony colors
Accessibility
White text reads better on this background (12.92:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#40403f · ΔE 23.1
Deuteranopia
#42453d · ΔE 30.5
Tritanopia
#4e3937 · ΔE 16.9
Achromatopsia
#313131 · ΔE 21.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #501f46;
bg-[#501f46]
Related colors
Frequently asked questions
#501f46 (#501f46) is rgb(80, 31, 70) in RGB.
No, #501f46 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 #501f46, or check how it holds up for accessibility.