#400A5E

#400a5e ≈ Indigo

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

#400a5e 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 36.86% blue; printed in CMYK it uses 31.91% cyan, 89.36% magenta, 0% yellow and 63.14% black. Its hue angle is 278.57°, with 80.77% saturation and 20.39% 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.76:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 6.27.

Description generated from the measured properties of this color.

Conversions of #400a5e 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.0212

Readable text 14.76:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.42:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #282828 ≈ 0.003% of males
Achromatomaly #331f44 ≈ 0.001% of males
Protanopia #002660 ≈ 1.01% of males
Deuteranopia #00295c ≈ 1.27% of males
Tritanopia #3b2136 ≈ 0.0001% of males
Protanomaly #1f1e5f ≈ 1.08% of males
Deuteranomaly #24205d ≈ 4.63% of males
Tritanomaly #3d1a49 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Indigo
#400a5e  rgb(64, 10, 94)  hsl(279, 81%, 20%)  Indigo
#285e0a  rgb(40, 94, 10)  hsl(99, 81%, 20%)  Lincoln Green
#5e400a  rgb(94, 64, 10)  hsl(39, 81%, 20%)  Sepia
#0a5e40  rgb(10, 94, 64)  hsl(159, 81%, 20%)  Hunter Green