#511C8A

#511c8a ≈ Indigo

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

#511c8a is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 31.76% red, 10.98% green and 54.12% blue; printed in CMYK it uses 41.3% cyan, 79.71% magenta, 0% yellow and 45.88% black. Its hue angle is 268.91°, with 66.27% saturation and 32.55% 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.15:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 3.7.

Description generated from the measured properties of this color.

Conversions of #511c8a 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.0441

Readable text 11.15:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.88:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3b3b3b ≈ 0.003% of males
Achromatomaly #453164 ≈ 0.001% of males
Protanopia #003b8d ≈ 1.01% of males
Deuteranopia #003a88 ≈ 1.27% of males
Tritanopia #443a53 ≈ 0.0001% of males
Protanomaly #23318c ≈ 1.08% of males
Deuteranomaly #293189 ≈ 4.63% of males
Tritanomaly #49306d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Indigo
#511c8a  rgb(81, 28, 138)  hsl(269, 66%, 33%)  Indigo
#558a1c  rgb(85, 138, 28)  hsl(89, 66%, 33%)  Avocado
#8a511c  rgb(138, 81, 28)  hsl(29, 66%, 33%)  Russet
#1c8a51  rgb(28, 138, 81)  hsl(149, 66%, 33%)  Sea Green