#400a7f ≈ Indigo
#400a7f 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 49.8% blue; printed in CMYK it uses 49.61% cyan, 92.13% magenta, 0% yellow and 50.2% black. Its hue angle is 267.69°, with 85.4% saturation and 26.86% 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.39:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 2.
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.0284 |
Shades
#400a7f mixed progressively with black.
Tints
#400a7f mixed progressively with white.
Tones
#400a7f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-400a7f {
color: #400a7f;
}
.bg-400a7f {
background-color: #400a7f;
color: #ffffff;
}
.border-400a7f {
border: 2px solid #400a7f;
}
:root {
--color-primary: #400a7f;
--color-primary-rgb: 64 10 127;
--color-primary-hsl: 268 85% 27%;
}
.gradient-400a7f {
background: linear-gradient(135deg, #400a7f, #7a0a7f);
}
.shadow-400a7f {
box-shadow: 0 8px 24px rgb(64 10 127 / 0.35);
}
Indigo
#400a7f rgb(64, 10, 127) hsl(268, 85%, 27%) Indigo
#497f0a rgb(73, 127, 10) hsl(88, 85%, 27%) Avocado
#7f400a rgb(127, 64, 10) hsl(28, 85%, 27%) Russet
#0a7f40 rgb(10, 127, 64) hsl(148, 85%, 27%) Sea Green