#400A9B

#400a9b ≈ Indigo

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

#400a9b is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 25.1% red, 3.92% green and 60.78% blue; printed in CMYK it uses 58.71% cyan, 93.55% magenta, 0% yellow and 39.22% black. Its hue angle is 262.34°, with 87.88% saturation and 32.35% 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.11:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 4.52.

Description generated from the measured properties of this color.

Conversions of #400a9b 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.0367

Readable text 12.11:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.73:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #363636 ≈ 0.003% of males
Achromatomaly #3a2a6d ≈ 0.001% of males
Protanopia #00399f ≈ 1.01% of males
Deuteranopia #003299 ≈ 1.27% of males
Tritanopia #113d5a ≈ 0.0001% of males
Protanomaly #002c9d ≈ 1.08% of males
Deuteranomaly #00279a ≈ 4.63% of males
Tritanomaly #2b3079 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-400a9b {
  color: #400a9b;
}
Background
.bg-400a9b {
  background-color: #400a9b;
  color: #ffffff;
}
Border
.border-400a9b {
  border: 2px solid #400a9b;
}
CSS variables
:root {
  --color-primary: #400a9b;
  --color-primary-rgb: 64 10 155;
  --color-primary-hsl: 262 88% 32%;
}
Gradient
.gradient-400a9b {
  background: linear-gradient(135deg, #400a9b, #880a9b);
}
Colored shadow
.shadow-400a9b {
  box-shadow: 0 8px 24px rgb(64 10 155 / 0.35);
}

Indigo
#400a9b  rgb(64, 10, 155)  hsl(262, 88%, 32%)  Indigo
#659b0a  rgb(101, 155, 10)  hsl(82, 88%, 32%)  Olive Drab
#9b400a  rgb(155, 64, 10)  hsl(22, 88%, 32%)  Saddle Brown
#0a9b40  rgb(10, 155, 64)  hsl(142, 88%, 32%)  Shamrock Green