#511A8A

#511a8a ≈ Indigo

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

#511a8a 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 54.12% blue; printed in CMYK it uses 41.3% cyan, 81.16% magenta, 0% yellow and 45.88% black. Its hue angle is 269.46°, with 68.29% saturation and 32.16% 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.26:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 3.4.

Description generated from the measured properties of this color.

Conversions of #511a8a 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.0432

Readable text 11.26:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.86:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #3b3b3b ≈ 0.003% of males
Achromatomaly #453064 ≈ 0.001% of males
Protanopia #003a8d ≈ 1.01% of males
Deuteranopia #003a88 ≈ 1.27% of males
Tritanopia #443952 ≈ 0.0001% of males
Protanomaly #22308c ≈ 1.08% of males
Deuteranomaly #283089 ≈ 4.63% of males
Tritanomaly #492f6d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Indigo
#511a8a  rgb(81, 26, 138)  hsl(269, 68%, 32%)  Indigo
#538a1a  rgb(83, 138, 26)  hsl(89, 68%, 32%)  Avocado
#8a511a  rgb(138, 81, 26)  hsl(29, 68%, 32%)  Russet
#1a8a51  rgb(26, 138, 81)  hsl(149, 68%, 32%)  Sea Green