Color #512e5c
A muted dark purple.
Conversions
#512e5c
rgb(81, 46, 92)
hsl(285.7, 33.3%, 27.1%)
hsv(285.7, 50%, 36.1%)
cmyk(12%, 50%, 0%, 63.9%)
lab(25.19, 24.84, -21.15)
lch(25.19, 32.62, 319.59)
oklch(36.5%, 0.087, 317.75)
hwb(285.7, 18%, 63.9%)
Harmony colors
Accessibility
White text reads better on this background (11.08:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#444454 · ΔE 14.9
Deuteranopia
#464951 · ΔE 18.8
Tritanopia
#504c4a · ΔE 22
Achromatopsia
#3c3c3c · ΔE 21.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #512e5c;
bg-[#512e5c]
Related colors
Frequently asked questions
#512e5c (#512e5c) is rgb(81, 46, 92) in RGB.
No, #512e5c 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 #512e5c, or check how it holds up for accessibility.