#4A0C8A

#4a0c8a ≈ Indigo

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

#4a0c8a is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 29.02% red, 4.71% green and 54.12% blue; printed in CMYK it uses 46.38% cyan, 91.3% magenta, 0% yellow and 45.88% black. Its hue angle is 269.52°, with 84% saturation and 29.41% 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 12.28:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 1.78.

Description generated from the measured properties of this color.

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

Readable text 12.28:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.71:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #353535 ≈ 0.003% of males
Achromatomaly #3e2a62 ≈ 0.001% of males
Protanopia #00358d ≈ 1.01% of males
Deuteranopia #003388 ≈ 1.27% of males
Tritanopia #393550 ≈ 0.0001% of males
Protanomaly #0f2a8c ≈ 1.08% of males
Deuteranomaly #192889 ≈ 4.63% of males
Tritanomaly #402a6c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4a0c8a {
  color: #4a0c8a;
}
Background
.bg-4a0c8a {
  background-color: #4a0c8a;
  color: #ffffff;
}
Border
.border-4a0c8a {
  border: 2px solid #4a0c8a;
}
CSS variables
:root {
  --color-primary: #4a0c8a;
  --color-primary-rgb: 74 12 138;
  --color-primary-hsl: 270 84% 29%;
}
Gradient
.gradient-4a0c8a {
  background: linear-gradient(135deg, #4a0c8a, #890c8a);
}
Colored shadow
.shadow-4a0c8a {
  box-shadow: 0 8px 24px rgb(74 12 138 / 0.35);
}

Indigo
#4a0c8a  rgb(74, 12, 138)  hsl(270, 84%, 29%)  Indigo
#4c8a0c  rgb(76, 138, 12)  hsl(90, 84%, 29%)  Avocado
#8a4a0c  rgb(138, 74, 12)  hsl(30, 84%, 29%)  Saddle Brown
#0c8a4a  rgb(12, 138, 74)  hsl(150, 84%, 29%)  Sea Green