Skip to content
Kolorvia
#511f66

Color #511f66

A moderately saturated dark purple.

Conversions

HEX
#511f66
RGB
rgb(81, 31, 102)
HSL
hsl(282.3, 53.4%, 26.1%)
HSV / HSB
hsv(282.3, 69.6%, 40%)
CMYK
cmyk(20.6%, 69.6%, 0%, 60%)
LAB
lab(22.61, 35.71, -31.78)
LCH
lch(22.61, 47.8, 318.33)
OKLCH
oklch(34.8%, 0.1249, 314.29)
HWB
hwb(282.3, 12.2%, 60%)

Harmony colors

Complementary

#34661f

Analogous

#2e1f66
#511f66
#661f58

Triadic

#511f66
#66511f
#1f6651

Split-complementary

#511f66
#58661f
#1f662e

Tetradic

#511f66
#661f34
#34661f
#1f6651

Square

#511f66
#662e1f
#34661f
#1f5866

Shades

Color #511f66 mixed toward black.

#441a55
#361544
#291033
#1b0a22
#0e0511

Tints

Color #511f66 mixed toward white.

#772e96
#9d3ec4
#b56ed3
#ce9fe2
#e6cff0

Tones

Color #511f66 mixed toward gray.

#4f2560
#4c2b5a
#4a3154
#47374e
#453d48

Accessibility

Aa White text on this color
12.08:1
Aa Black text on this color
1.74:1

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

Under color vision deficiencies

Protanopia

#41405b · ΔE 14.7

Deuteranopia

#434658 · ΔE 17.8

Tritanopia

#4f514e · ΔE 29.5

Achromatopsia

#363636 · ΔE 24.1

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

Code

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

Related colors

Dark Violet #9400d3
Dark Orchid #9932cc
Medium Orchid #ba55d3
Indigo #4b0082
Blue Violet #8a2be2
Rebecca Purple #663399

Frequently asked questions

#511f66 (#511f66) is rgb(81, 31, 102) in RGB.

No, #511f66 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 #511f66, 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.