#5A129E

#5a129e ≈ Indigo

  • violet
  • Lightness: low
  • Saturation: strong
  • Cool

#5a129e is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 35.29% red, 7.06% green and 61.96% blue; printed in CMYK it uses 43.04% cyan, 88.61% magenta, 0% yellow and 38.04% black. Its hue angle is 270.86°, with 79.55% saturation and 34.51% 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 10.42:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 5.06.

Description generated from the measured properties of this color.

Conversions of #5a129e 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.0507

Readable text 10.42:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.01:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #404040 ≈ 0.003% of males
Achromatomaly #4c3372 ≈ 0.001% of males
Protanopia #003fa2 ≈ 1.01% of males
Deuteranopia #003e9c ≈ 1.27% of males
Tritanopia #493e5d ≈ 0.0001% of males
Protanomaly #1d33a0 ≈ 1.08% of males
Deuteranomaly #26329d ≈ 4.63% of males
Tritanomaly #50317c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-5a129e {
  color: #5a129e;
}
Background
.bg-5a129e {
  background-color: #5a129e;
  color: #ffffff;
}
Border
.border-5a129e {
  border: 2px solid #5a129e;
}
CSS variables
:root {
  --color-primary: #5a129e;
  --color-primary-rgb: 90 18 158;
  --color-primary-hsl: 271 80% 35%;
}
Gradient
.gradient-5a129e {
  background: linear-gradient(135deg, #5a129e, #9e129c);
}
Colored shadow
.shadow-5a129e {
  box-shadow: 0 8px 24px rgb(90 18 158 / 0.35);
}

Indigo
#5a129e  rgb(90, 18, 158)  hsl(271, 80%, 35%)  Indigo
#569e12  rgb(86, 158, 18)  hsl(91, 80%, 35%)  Olive Drab
#9e5a12  rgb(158, 90, 18)  hsl(31, 80%, 35%)  Ginger
#129e5a  rgb(18, 158, 90)  hsl(151, 80%, 35%)  Shamrock Green