#511D8A

#511d8a ≈ Indigo

  • violet
  • Lightness: low
  • Saturation: moderate
  • Cool

#511d8a is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 31.76% red, 11.37% green and 54.12% blue; printed in CMYK it uses 41.3% cyan, 78.99% magenta, 0% yellow and 45.88% black. Its hue angle is 268.62°, with 65.27% saturation and 32.75% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and corporate identities. White text on this color reaches a contrast ratio of 11.1:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 3.87.

Description generated from the measured properties of this color.

Conversions of #511d8a into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#663399
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0446

Readable text 11.1:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.89:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3c3c3c ≈ 0.003% of males
Achromatomaly #453264 ≈ 0.001% of males
Protanopia #003b8d ≈ 1.01% of males
Deuteranopia #003b88 ≈ 1.27% of males
Tritanopia #433a53 ≈ 0.0001% of males
Protanomaly #23328c ≈ 1.08% of males
Deuteranomaly #293189 ≈ 4.63% of males
Tritanomaly #49316d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-511d8a {
  color: #511d8a;
}
Background
.bg-511d8a {
  background-color: #511d8a;
  color: #ffffff;
}
Border
.border-511d8a {
  border: 2px solid #511d8a;
}
CSS variables
:root {
  --color-primary: #511d8a;
  --color-primary-rgb: 81 29 138;
  --color-primary-hsl: 269 65% 33%;
}
Gradient
.gradient-511d8a {
  background: linear-gradient(135deg, #511d8a, #881d8a);
}
Colored shadow
.shadow-511d8a {
  box-shadow: 0 8px 24px rgb(81 29 138 / 0.35);
}

Indigo
#511d8a  rgb(81, 29, 138)  hsl(269, 65%, 33%)  Indigo
#568a1d  rgb(86, 138, 29)  hsl(89, 65%, 33%)  Avocado
#8a511d  rgb(138, 81, 29)  hsl(29, 65%, 33%)  Russet
#1d8a51  rgb(29, 138, 81)  hsl(149, 65%, 33%)  Sea Green