Color #512f49
A muted dark magenta.
Conversions
#512f49
rgb(81, 47, 73)
hsl(314.1, 26.6%, 25.1%)
hsv(314.1, 42%, 31.8%)
cmyk(0%, 42%, 9.9%, 68.2%)
lab(24.52, 20.03, -9.59)
lch(24.52, 22.21, 334.42)
oklch(35.7%, 0.0632, 335.99)
hwb(314.1, 18.4%, 68.2%)
Harmony colors
Accessibility
White text reads better on this background (11.33:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#454444 · ΔE 18.1
Deuteranopia
#464942 · ΔE 26
Tritanopia
#503f3e · ΔE 13.2
Achromatopsia
#3a3a3a · ΔE 18.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #512f49;
bg-[#512f49]
Related colors
Frequently asked questions
#512f49 (#512f49) is rgb(81, 47, 73) in RGB.
No, #512f49 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 #512f49, or check how it holds up for accessibility.