#400a5c ≈ Indigo
#400a5c 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.08% blue; printed in CMYK it uses 30.43% cyan, 89.13% magenta, 0% yellow and 63.92% black. Its hue angle is 279.51°, with 80.39% saturation and 20% 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.83:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 6.67.
Description generated from the measured properties of this color.
| 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 luminance | 0.0208 |
Shades
#400a5c mixed progressively with black.
Tints
#400a5c mixed progressively with white.
Tones
#400a5c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-400a5c {
color: #400a5c;
}
.bg-400a5c {
background-color: #400a5c;
color: #ffffff;
}
.border-400a5c {
border: 2px solid #400a5c;
}
:root {
--color-primary: #400a5c;
--color-primary-rgb: 64 10 92;
--color-primary-hsl: 280 80% 20%;
}
.gradient-400a5c {
background: linear-gradient(135deg, #400a5c, #5c0a4f);
}
.shadow-400a5c {
box-shadow: 0 8px 24px rgb(64 10 92 / 0.35);
}
Indigo
#400a5c rgb(64, 10, 92) hsl(280, 80%, 20%) Indigo
#265c0a rgb(38, 92, 10) hsl(100, 80%, 20%) Lincoln Green
#5c400a rgb(92, 64, 10) hsl(40, 80%, 20%) Field Drab
#0a5c40 rgb(10, 92, 64) hsl(160, 80%, 20%) Hunter Green