#40118E

#40118e ≈ Indigo

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

#40118e is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 25.1% red, 6.67% green and 55.69% blue; printed in CMYK it uses 54.93% cyan, 88.03% magenta, 0% yellow and 44.31% black. Its hue angle is 262.56°, with 78.62% 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 12.44:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 3.34.

Description generated from the measured properties of this color.

Conversions of #40118e 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.0344

Readable text 12.44:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.69:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #343434 ≈ 0.003% of males
Achromatomaly #392a65 ≈ 0.001% of males
Protanopia #003691 ≈ 1.01% of males
Deuteranopia #00318c ≈ 1.27% of males
Tritanopia #213953 ≈ 0.0001% of males
Protanomaly #002b90 ≈ 1.08% of males
Deuteranomaly #00288d ≈ 4.63% of males
Tritanomaly #302e6f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-40118e {
  color: #40118e;
}
Background
.bg-40118e {
  background-color: #40118e;
  color: #ffffff;
}
Border
.border-40118e {
  border: 2px solid #40118e;
}
CSS variables
:root {
  --color-primary: #40118e;
  --color-primary-rgb: 64 17 142;
  --color-primary-hsl: 263 79% 31%;
}
Gradient
.gradient-40118e {
  background: linear-gradient(135deg, #40118e, #7f118e);
}
Colored shadow
.shadow-40118e {
  box-shadow: 0 8px 24px rgb(64 17 142 / 0.35);
}

Indigo
#40118e  rgb(64, 17, 142)  hsl(263, 79%, 31%)  Indigo
#5f8e11  rgb(95, 142, 17)  hsl(83, 79%, 31%)  Olive Drab
#8e4011  rgb(142, 64, 17)  hsl(23, 79%, 31%)  Saddle Brown
#118e40  rgb(17, 142, 64)  hsl(143, 79%, 31%)  Forest Green