#4E158B

#4e158b ≈ Indigo

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

#4e158b is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 30.59% red, 8.24% green and 54.51% blue; printed in CMYK it uses 43.88% cyan, 84.89% magenta, 0% yellow and 45.49% black. Its hue angle is 268.98°, with 73.75% saturation and 31.37% 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.64:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 2.7.

Description generated from the measured properties of this color.

Conversions of #4e158b 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.0402

Readable text 11.64:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.8:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #383838 ≈ 0.003% of males
Achromatomaly #422e64 ≈ 0.001% of males
Protanopia #00398e ≈ 1.01% of males
Deuteranopia #003789 ≈ 1.27% of males
Tritanopia #3e3852 ≈ 0.0001% of males
Protanomaly #1a2e8d ≈ 1.08% of males
Deuteranomaly #222d8a ≈ 4.63% of males
Tritanomaly #452d6d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e158b {
  color: #4e158b;
}
Background
.bg-4e158b {
  background-color: #4e158b;
  color: #ffffff;
}
Border
.border-4e158b {
  border: 2px solid #4e158b;
}
CSS variables
:root {
  --color-primary: #4e158b;
  --color-primary-rgb: 78 21 139;
  --color-primary-hsl: 269 74% 31%;
}
Gradient
.gradient-4e158b {
  background: linear-gradient(135deg, #4e158b, #89158b);
}
Colored shadow
.shadow-4e158b {
  box-shadow: 0 8px 24px rgb(78 21 139 / 0.35);
}

Indigo
#4e158b  rgb(78, 21, 139)  hsl(269, 74%, 31%)  Indigo
#528b15  rgb(82, 139, 21)  hsl(89, 74%, 31%)  Avocado
#8b4e15  rgb(139, 78, 21)  hsl(29, 74%, 31%)  Saddle Brown
#158b4e  rgb(21, 139, 78)  hsl(149, 74%, 31%)  Sea Green