Color #512b5c
A muted dark purple.
Conversions
#512b5c
rgb(81, 43, 92)
hsl(286.5, 36.3%, 26.5%)
hsv(286.5, 53.3%, 36.1%)
cmyk(12%, 53.3%, 0%, 63.9%)
lab(24.48, 26.66, -22.26)
lch(24.48, 34.73, 320.14)
oklch(36%, 0.0927, 318.28)
hwb(286.5, 16.9%, 63.9%)
Harmony colors
Accessibility
White text reads better on this background (11.35:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#444353 · ΔE 15.2
Deuteranopia
#464851 · ΔE 18.8
Tritanopia
#504b4a · ΔE 21.7
Achromatopsia
#3a3a3a · ΔE 21.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #512b5c;
bg-[#512b5c]
Related colors
Frequently asked questions
#512b5c (#512b5c) is rgb(81, 43, 92) in RGB.
No, #512b5c 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 #512b5c, or check how it holds up for accessibility.