Color #511f44
A moderately saturated dark magenta.
Conversions
#511f44
rgb(81, 31, 68)
hsl(315.6, 44.6%, 22%)
hsv(315.6, 61.7%, 31.8%)
cmyk(0%, 61.7%, 16%, 68.2%)
lab(20.62, 28.57, -12.18)
lch(20.62, 31.06, 336.91)
oklch(32.7%, 0.0903, 338.69)
hwb(315.6, 12.2%, 68.2%)
Harmony colors
Accessibility
White text reads better on this background (12.89:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#41403d · ΔE 24
Deuteranopia
#43463c · ΔE 31.5
Tritanopia
#4f3736 · ΔE 15.4
Achromatopsia
#323232 · ΔE 21.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #511f44;
bg-[#511f44]
Related colors
Frequently asked questions
#511f44 (#511f44) is rgb(81, 31, 68) in RGB.
No, #511f44 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 #511f44, or check how it holds up for accessibility.