#400A6B

#400a6b ≈ Indigo

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

#400a6b 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 41.96% blue; printed in CMYK it uses 40.19% cyan, 90.65% magenta, 0% yellow and 58.04% black. Its hue angle is 273.4°, with 82.91% saturation and 22.94% 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.25:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 3.96.

Description generated from the measured properties of this color.

Conversions of #400a6b 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.0237

Readable text 14.25:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.47:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2b2b2b ≈ 0.003% of males
Achromatomaly #34214c ≈ 0.001% of males
Protanopia #002a6d ≈ 1.01% of males
Deuteranopia #002a69 ≈ 1.27% of males
Tritanopia #37273d ≈ 0.0001% of males
Protanomaly #18216c ≈ 1.08% of males
Deuteranomaly #1e216a ≈ 4.63% of males
Tritanomaly #3b1f53 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-400a6b {
  color: #400a6b;
}
Background
.bg-400a6b {
  background-color: #400a6b;
  color: #ffffff;
}
Border
.border-400a6b {
  border: 2px solid #400a6b;
}
CSS variables
:root {
  --color-primary: #400a6b;
  --color-primary-rgb: 64 10 107;
  --color-primary-hsl: 273 83% 23%;
}
Gradient
.gradient-400a6b {
  background: linear-gradient(135deg, #400a6b, #6b0a66);
}
Colored shadow
.shadow-400a6b {
  box-shadow: 0 8px 24px rgb(64 10 107 / 0.35);
}

Indigo
#400a6b  rgb(64, 10, 107)  hsl(273, 83%, 23%)  Indigo
#356b0a  rgb(53, 107, 10)  hsl(93, 83%, 23%)  Pakistan Green
#6b400a  rgb(107, 64, 10)  hsl(33, 83%, 23%)  Sepia
#0a6b40  rgb(10, 107, 64)  hsl(153, 83%, 23%)  Cadmium Green