Skip to content
Kolorvia
#511a5b

Color #511a5b

A moderately saturated dark magenta.

Conversions

HEX
#511a5b
RGB
rgb(81, 26, 91)
HSL
hsl(290.8, 55.6%, 22.9%)
HSV / HSB
hsv(290.8, 71.4%, 35.7%)
CMYK
cmyk(11%, 71.4%, 0%, 64.3%)
LAB
lab(20.99, 35.69, -27.12)
LCH
lch(20.99, 44.82, 322.77)
OKLCH
oklch(33.4%, 0.1207, 321.15)
HWB
hwb(290.8, 10.2%, 64.3%)

Harmony colors

Complementary

#245b1a

Analogous

#301a5b
#511a5b
#5b1a44

Triadic

#511a5b
#5b511a
#1a5b51

Split-complementary

#511a5b
#445b1a
#1a5b30

Tetradic

#511a5b
#5b1a24
#245b1a
#1a5b51

Square

#511a5b
#5b301a
#245b1a
#1a445b

Shades

Color #511a5b mixed toward black.

#43164c
#36113d
#280d2d
#1b091e
#0d040f

Tints

Color #511a5b mixed toward white.

#7e288e
#ac37c1
#c366d3
#d799e2
#ebccf0

Tones

Color #511a5b mixed toward gray.

#4d1f55
#492550
#462a4b
#423045
#3e3540

Accessibility

Aa White text on this color
12.74:1
Aa Black text on this color
1.65:1

White text reads better on this background (12.74:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#403f51 · ΔE 17.3

Deuteranopia

#42464e · ΔE 20.7

Tritanopia

#4f4745 · ΔE 24.2

Achromatopsia

#323232 · ΔE 23.8

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #511a5b;
Tailwind (arbitrary value)
bg-[#511a5b]

Related colors

Medium Orchid #ba55d3
Dark Violet #9400d3
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080

Frequently asked questions

#511a5b (#511a5b) is rgb(81, 26, 91) in RGB.

No, #511a5b is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #511a5b, 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.