#400A5B

#400a5b ≈ Indigo

  • magenta
  • Lightness: very low
  • Saturation: moderate
  • Cool

#400a5b is a color from the magenta family, with very low lightness and moderate saturation. In the RGB model it is made of 25.1% red, 3.92% green and 35.69% blue; printed in CMYK it uses 29.67% cyan, 89.01% magenta, 0% yellow and 64.31% black. Its hue angle is 280°, with 80.2% saturation and 19.8% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and luxury branding. White text on this color reaches a contrast ratio of 14.87:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 6.87.

Description generated from the measured properties of this color.

Conversions of #400a5b 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.0206

Readable text 14.87:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.41:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #272727 ≈ 0.003% of males
Achromatomaly #331f42 ≈ 0.001% of males
Protanopia #00255d ≈ 1.01% of males
Deuteranopia #002859 ≈ 1.27% of males
Tritanopia #3c2034 ≈ 0.0001% of males
Protanomaly #201d5c ≈ 1.08% of males
Deuteranomaly #261f5a ≈ 4.63% of males
Tritanomaly #3e1947 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Indigo
#400a5b  rgb(64, 10, 91)  hsl(280, 80%, 20%)  Indigo
#255b0a  rgb(37, 91, 10)  hsl(100, 80%, 20%)  Lincoln Green
#5b400a  rgb(91, 64, 10)  hsl(40, 80%, 20%)  Field Drab
#0a5b40  rgb(10, 91, 64)  hsl(160, 80%, 20%)  Hunter Green