#511B7A

#511b7a ≈ Indigo

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

#511b7a 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.59% green and 47.84% blue; printed in CMYK it uses 33.61% cyan, 77.87% magenta, 0% yellow and 52.16% black. Its hue angle is 274.11°, with 63.76% saturation and 29.22% 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 luxury branding. White text on this color reaches a contrast ratio of 11.75:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 4.01.

Description generated from the measured properties of this color.

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

Readable text 11.75:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.79:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #383838 ≈ 0.003% of males
Achromatomaly #432f5a ≈ 0.001% of males
Protanopia #00367d ≈ 1.01% of males
Deuteranopia #003878 ≈ 1.27% of males
Tritanopia #4a3249 ≈ 0.0001% of males
Protanomaly #2a2e7c ≈ 1.08% of males
Deuteranomaly #302f79 ≈ 4.63% of males
Tritanomaly #4d2b60 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-511b7a {
  color: #511b7a;
}
Background
.bg-511b7a {
  background-color: #511b7a;
  color: #ffffff;
}
Border
.border-511b7a {
  border: 2px solid #511b7a;
}
CSS variables
:root {
  --color-primary: #511b7a;
  --color-primary-rgb: 81 27 122;
  --color-primary-hsl: 274 64% 29%;
}
Gradient
.gradient-511b7a {
  background: linear-gradient(135deg, #511b7a, #7a1b74);
}
Colored shadow
.shadow-511b7a {
  box-shadow: 0 8px 24px rgb(81 27 122 / 0.35);
}

Indigo
#511b7a  rgb(81, 27, 122)  hsl(274, 64%, 29%)  Indigo
#447a1b  rgb(68, 122, 27)  hsl(94, 64%, 29%)  Sap Green
#7a511b  rgb(122, 81, 27)  hsl(34, 64%, 29%)  Sepia
#1b7a51  rgb(27, 122, 81)  hsl(154, 64%, 29%)  Cadmium Green