Color #510c4e
A vivid, highly saturated very dark magenta.
Conversions
#510c4e
rgb(81, 12, 78)
hsl(302.6, 74.2%, 18.2%)
hsv(302.6, 85.2%, 31.8%)
cmyk(0%, 85.2%, 3.7%, 68.2%)
lab(18.2, 38.68, -22.81)
lch(18.2, 44.9, 329.47)
oklch(31.2%, 0.1265, 330.07)
hwb(302.6, 4.7%, 68.2%)
Harmony colors
Accessibility
White text reads better on this background (13.88:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3e3e44 · ΔE 22.3
Deuteranopia
#414542 · ΔE 25.3
Tritanopia
#4f3c3a · ΔE 22
Achromatopsia
#2c2c2c · ΔE 24
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #510c4e;
bg-[#510c4e]
Related colors
Frequently asked questions
#510c4e (#510c4e) is rgb(81, 12, 78) in RGB.
No, #510c4e 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 #510c4e, or check how it holds up for accessibility.