Skip to content
Kolorvia
#510c4e

Color #510c4e

A vivid, highly saturated very dark magenta.

Conversions

HEX
#510c4e
RGB
rgb(81, 12, 78)
HSL
hsl(302.6, 74.2%, 18.2%)
HSV / HSB
hsv(302.6, 85.2%, 31.8%)
CMYK
cmyk(0%, 85.2%, 3.7%, 68.2%)
LAB
lab(18.2, 38.68, -22.81)
LCH
lch(18.2, 44.9, 329.47)
OKLCH
oklch(31.2%, 0.1265, 330.07)
HWB
hwb(302.6, 4.7%, 68.2%)

Harmony colors

Complementary

#0c510f

Analogous

#310c51
#510c4e
#510c2b

Triadic

#510c4e
#4e510c
#0c4e51

Split-complementary

#510c4e
#2b510c
#0c5131

Tetradic

#510c4e
#510f0c
#0c510f
#0c4e51

Square

#510c4e
#51310c
#0c510f
#0c2b51

Shades

Color #510c4e mixed toward black.

#430a41
#360834
#280627
#1b041a
#0d020d

Tints

Color #510c4e mixed toward white.

#8d1588
#ca1ec3
#e449dd
#ed86e9
#f6c2f4

Tones

Color #510c4e mixed toward gray.

#4b1249
#451743
#401d3e
#3a2339
#342934

Accessibility

Aa White text on this color
13.88:1
Aa Black text on this color
1.51:1

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

CSS
background-color: #510c4e;
Tailwind (arbitrary value)
bg-[#510c4e]

Related colors

Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080
Thistle #d8bfd8

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

Build something with this color

Generate a full palette from #510c4e, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.