#400A7C

#400a7c ≈ Indigo

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

#400a7c 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 48.63% blue; printed in CMYK it uses 48.39% cyan, 91.94% magenta, 0% yellow and 51.37% black. Its hue angle is 268.42°, with 85.07% saturation and 26.27% 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.53:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 2.06.

Description generated from the measured properties of this color.

Conversions of #400a7c 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.0276

Readable text 13.53:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.55:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #2e2e2e ≈ 0.003% of males
Achromatomaly #362458 ≈ 0.001% of males
Protanopia #002f7f ≈ 1.01% of males
Deuteranopia #002d7a ≈ 1.27% of males
Tritanopia #2f2f47 ≈ 0.0001% of males
Protanomaly #08257e ≈ 1.08% of males
Deuteranomaly #11237b ≈ 4.63% of males
Tritanomaly #362561 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Indigo
#400a7c  rgb(64, 10, 124)  hsl(268, 85%, 26%)  Indigo
#467c0a  rgb(70, 124, 10)  hsl(88, 85%, 26%)  Sap Green
#7c400a  rgb(124, 64, 10)  hsl(28, 85%, 26%)  Russet
#0a7c40  rgb(10, 124, 64)  hsl(148, 85%, 26%)  Cadmium Green