#400A7A

#400a7a ≈ Indigo

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

#400a7a is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 25.1% red, 3.92% green and 47.84% blue; printed in CMYK it uses 47.54% cyan, 91.8% magenta, 0% yellow and 52.16% black. Its hue angle is 268.93°, with 84.85% saturation and 25.88% 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 13.61:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 2.17.

Description generated from the measured properties of this color.

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

Readable text 13.61:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.54:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2e2e2e ≈ 0.003% of males
Achromatomaly #362456 ≈ 0.001% of males
Protanopia #002e7d ≈ 1.01% of males
Deuteranopia #002c78 ≈ 1.27% of males
Tritanopia #302e46 ≈ 0.0001% of males
Protanomaly #0a247c ≈ 1.08% of males
Deuteranomaly #142379 ≈ 4.63% of males
Tritanomaly #37245f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-400a7a {
  color: #400a7a;
}
Background
.bg-400a7a {
  background-color: #400a7a;
  color: #ffffff;
}
Border
.border-400a7a {
  border: 2px solid #400a7a;
}
CSS variables
:root {
  --color-primary: #400a7a;
  --color-primary-rgb: 64 10 122;
  --color-primary-hsl: 269 85% 26%;
}
Gradient
.gradient-400a7a {
  background: linear-gradient(135deg, #400a7a, #780a7a);
}
Colored shadow
.shadow-400a7a {
  box-shadow: 0 8px 24px rgb(64 10 122 / 0.35);
}

Indigo
#400a7a  rgb(64, 10, 122)  hsl(269, 85%, 26%)  Indigo
#447a0a  rgb(68, 122, 10)  hsl(89, 85%, 26%)  Sap Green
#7a400a  rgb(122, 64, 10)  hsl(29, 85%, 26%)  Russet
#0a7a40  rgb(10, 122, 64)  hsl(149, 85%, 26%)  Cadmium Green