#511A8E

#511a8e ≈ Indigo

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

#511a8e 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.2% green and 55.69% blue; printed in CMYK it uses 42.96% cyan, 81.69% magenta, 0% yellow and 44.31% black. Its hue angle is 268.45°, with 69.05% saturation and 32.94% 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.12:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 3.64.

Description generated from the measured properties of this color.

Conversions of #511a8e 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.0444

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

Achromatopsia #3b3b3b ≈ 0.003% of males
Achromatomaly #453167 ≈ 0.001% of males
Protanopia #003b91 ≈ 1.01% of males
Deuteranopia #003a8c ≈ 1.27% of males
Tritanopia #423b54 ≈ 0.0001% of males
Protanomaly #1f3190 ≈ 1.08% of males
Deuteranomaly #26308d ≈ 4.63% of males
Tritanomaly #483070 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-511a8e {
  color: #511a8e;
}
Background
.bg-511a8e {
  background-color: #511a8e;
  color: #ffffff;
}
Border
.border-511a8e {
  border: 2px solid #511a8e;
}
CSS variables
:root {
  --color-primary: #511a8e;
  --color-primary-rgb: 81 26 142;
  --color-primary-hsl: 268 69% 33%;
}
Gradient
.gradient-511a8e {
  background: linear-gradient(135deg, #511a8e, #8b1a8e);
}
Colored shadow
.shadow-511a8e {
  box-shadow: 0 8px 24px rgb(81 26 142 / 0.35);
}

Indigo
#511a8e  rgb(81, 26, 142)  hsl(268, 69%, 33%)  Indigo
#578e1a  rgb(87, 142, 26)  hsl(88, 69%, 33%)  Olive Drab
#8e511a  rgb(142, 81, 26)  hsl(28, 69%, 33%)  Saddle Brown
#1a8e51  rgb(26, 142, 81)  hsl(148, 69%, 33%)  Sea Green