Color #501842
A moderately saturated dark magenta.
Conversions
#501842
rgb(80, 24, 66)
hsl(315, 53.8%, 20.4%)
hsv(315, 70%, 31.4%)
cmyk(0%, 70%, 17.5%, 68.6%)
lab(19.02, 31.49, -13.28)
lch(19.02, 34.18, 337.13)
oklch(31.5%, 0.0997, 338.97)
hwb(315, 9.4%, 68.6%)
Harmony colors
Accessibility
White text reads better on this background (13.54:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3f3e3b · ΔE 25
Deuteranopia
#414539 · ΔE 33.9
Tritanopia
#4e3433 · ΔE 16.2
Achromatopsia
#2e2e2e · ΔE 22.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #501842;
bg-[#501842]
Related colors
Frequently asked questions
#501842 (#501842) is rgb(80, 24, 66) in RGB.
No, #501842 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 #501842, or check how it holds up for accessibility.