#4E178A

#4e178a ≈ Indigo

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

#4e178a is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 30.59% red, 9.02% green and 54.12% blue; printed in CMYK it uses 43.48% cyan, 83.33% magenta, 0% yellow and 45.88% black. Its hue angle is 268.7°, with 71.43% saturation and 31.57% 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.58:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 2.88.

Description generated from the measured properties of this color.

Conversions of #4e178a 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.0407

Readable text 11.58:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.81:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #393939 ≈ 0.003% of males
Achromatomaly #422e63 ≈ 0.001% of males
Protanopia #00398d ≈ 1.01% of males
Deuteranopia #003888 ≈ 1.27% of males
Tritanopia #3f3852 ≈ 0.0001% of males
Protanomaly #1c2e8c ≈ 1.08% of males
Deuteranomaly #232e89 ≈ 4.63% of males
Tritanomaly #452e6d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-4e178a {
  color: #4e178a;
}
Background
.bg-4e178a {
  background-color: #4e178a;
  color: #ffffff;
}
Border
.border-4e178a {
  border: 2px solid #4e178a;
}
CSS variables
:root {
  --color-primary: #4e178a;
  --color-primary-rgb: 78 23 138;
  --color-primary-hsl: 269 71% 32%;
}
Gradient
.gradient-4e178a {
  background: linear-gradient(135deg, #4e178a, #88178a);
}
Colored shadow
.shadow-4e178a {
  box-shadow: 0 8px 24px rgb(78 23 138 / 0.35);
}

Indigo
#4e178a  rgb(78, 23, 138)  hsl(269, 71%, 32%)  Indigo
#538a17  rgb(83, 138, 23)  hsl(89, 71%, 32%)  Avocado
#8a4e17  rgb(138, 78, 23)  hsl(29, 71%, 32%)  Saddle Brown
#178a4e  rgb(23, 138, 78)  hsl(149, 71%, 32%)  Sea Green