Color #512955
A muted dark magenta.
Conversions
#512955
rgb(81, 41, 85)
hsl(294.5, 34.9%, 24.7%)
hsv(294.5, 51.8%, 33.3%)
cmyk(4.7%, 51.8%, 0%, 66.7%)
lab(23.64, 26.27, -18.95)
lch(23.64, 32.39, 324.2)
oklch(35.3%, 0.0884, 323.79)
hwb(294.5, 16.1%, 66.7%)
Harmony colors
Accessibility
White text reads better on this background (11.68:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#43434d · ΔE 17.7
Deuteranopia
#45484b · ΔE 19.9
Tritanopia
#504644 · ΔE 20.2
Achromatopsia
#383838 · ΔE 21.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #512955;
bg-[#512955]
Related colors
Frequently asked questions
#512955 (#512955) is rgb(81, 41, 85) in RGB.
No, #512955 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 #512955, or check how it holds up for accessibility.