#400A5F

#400a5f ≈ Indigo

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

#400a5f 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 37.25% blue; printed in CMYK it uses 32.63% cyan, 89.47% magenta, 0% yellow and 62.75% black. Its hue angle is 278.12°, with 80.95% saturation and 20.59% 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 14.72:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 6.08.

Description generated from the measured properties of this color.

Conversions of #400a5f 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.0213

Readable text 14.72:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.43:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #282828 ≈ 0.003% of males
Achromatomaly #331f44 ≈ 0.001% of males
Protanopia #002661 ≈ 1.01% of males
Deuteranopia #00295d ≈ 1.27% of males
Tritanopia #3b2236 ≈ 0.0001% of males
Protanomaly #1e1e60 ≈ 1.08% of males
Deuteranomaly #24205e ≈ 4.63% of males
Tritanomaly #3d1a4a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-400a5f {
  color: #400a5f;
}
Background
.bg-400a5f {
  background-color: #400a5f;
  color: #ffffff;
}
Border
.border-400a5f {
  border: 2px solid #400a5f;
}
CSS variables
:root {
  --color-primary: #400a5f;
  --color-primary-rgb: 64 10 95;
  --color-primary-hsl: 278 81% 21%;
}
Gradient
.gradient-400a5f {
  background: linear-gradient(135deg, #400a5f, #5f0a54);
}
Colored shadow
.shadow-400a5f {
  box-shadow: 0 8px 24px rgb(64 10 95 / 0.35);
}

Indigo
#400a5f  rgb(64, 10, 95)  hsl(278, 81%, 21%)  Indigo
#295f0a  rgb(41, 95, 10)  hsl(98, 81%, 21%)  Lincoln Green
#5f400a  rgb(95, 64, 10)  hsl(38, 81%, 21%)  Sepia
#0a5f40  rgb(10, 95, 64)  hsl(158, 81%, 21%)  Cadmium Green