#400255 ≈ Indigo
#400255 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, 0.78% green and 33.33% blue; printed in CMYK it uses 24.71% cyan, 97.65% magenta, 0% yellow and 66.67% black. Its hue angle is 284.82°, with 95.4% saturation and 17.06% 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 15.47:1 (WCAG AAA). The closest named color is Indigo (#4b0082), ΔE 7.87.
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.0179 |
Shades
#400255 mixed progressively with black.
Tints
#400255 mixed progressively with white.
Tones
#400255 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-400255 {
color: #400255;
}
.bg-400255 {
background-color: #400255;
color: #ffffff;
}
.border-400255 {
border: 2px solid #400255;
}
:root {
--color-primary: #400255;
--color-primary-rgb: 64 2 85;
--color-primary-hsl: 285 95% 17%;
}
.gradient-400255 {
background: linear-gradient(135deg, #400255, #550241);
}
.shadow-400255 {
box-shadow: 0 8px 24px rgb(64 2 85 / 0.35);
}
Indigo
#400255 rgb(64, 2, 85) hsl(285, 95%, 17%) Indigo
#175502 rgb(23, 85, 2) hsl(105, 95%, 17%) Lincoln Green
#554002 rgb(85, 64, 2) hsl(45, 95%, 17%) Field Drab
#025540 rgb(2, 85, 64) hsl(165, 95%, 17%) British Racing Green