#51158A

#51158a ≈ Indigo

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

#51158a is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 31.76% red, 8.24% green and 54.12% blue; printed in CMYK it uses 41.3% cyan, 84.78% magenta, 0% yellow and 45.88% black. Its hue angle is 270.77°, with 73.58% saturation and 31.18% 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.51:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 2.74.

Description generated from the measured properties of this color.

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

Readable text 11.51:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.82:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #393939 ≈ 0.003% of males
Achromatomaly #442e64 ≈ 0.001% of males
Protanopia #00398d ≈ 1.01% of males
Deuteranopia #003888 ≈ 1.27% of males
Tritanopia #443751 ≈ 0.0001% of males
Protanomaly #1f2e8c ≈ 1.08% of males
Deuteranomaly #272e89 ≈ 4.63% of males
Tritanomaly #492d6c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-51158a {
  color: #51158a;
}
Background
.bg-51158a {
  background-color: #51158a;
  color: #ffffff;
}
Border
.border-51158a {
  border: 2px solid #51158a;
}
CSS variables
:root {
  --color-primary: #51158a;
  --color-primary-rgb: 81 21 138;
  --color-primary-hsl: 271 74% 31%;
}
Gradient
.gradient-51158a {
  background: linear-gradient(135deg, #51158a, #8a1589);
}
Colored shadow
.shadow-51158a {
  box-shadow: 0 8px 24px rgb(81 21 138 / 0.35);
}

Indigo
#51158a  rgb(81, 21, 138)  hsl(271, 74%, 31%)  Indigo
#4e8a15  rgb(78, 138, 21)  hsl(91, 74%, 31%)  Avocado
#8a5115  rgb(138, 81, 21)  hsl(31, 74%, 31%)  Russet
#158a51  rgb(21, 138, 81)  hsl(151, 74%, 31%)  Sea Green