Color #512c56
A muted dark magenta.
Conversions
#512c56
rgb(81, 44, 86)
hsl(292.9, 32.3%, 25.5%)
hsv(292.9, 48.8%, 33.7%)
cmyk(5.8%, 48.8%, 0%, 66.3%)
lab(24.39, 24.68, -18.44)
lch(24.39, 30.81, 323.23)
oklch(35.8%, 0.0836, 322.68)
hwb(292.9, 17.3%, 66.3%)
Harmony colors
Accessibility
White text reads better on this background (11.39:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#44444e · ΔE 17.1
Deuteranopia
#46484c · ΔE 20
Tritanopia
#504746 · ΔE 19.4
Achromatopsia
#3a3a3a · ΔE 20.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #512c56;
bg-[#512c56]
Related colors
Frequently asked questions
#512c56 (#512c56) is rgb(81, 44, 86) in RGB.
No, #512c56 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 #512c56, or check how it holds up for accessibility.