#402d5d ≈ Dark Slate Blue
#402d5d is a color from the violet family, with low lightness and muted saturation. In the RGB model it is made of 25.1% red, 17.65% green and 36.47% blue; printed in CMYK it uses 31.18% cyan, 51.61% magenta, 0% yellow and 63.53% black. Its hue angle is 263.75°, with 34.78% saturation and 27.06% 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 11.99:1 (WCAG AAA). The closest named color is Dark Slate Blue (#483d8b), ΔE 9.56.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0376 |
Shades
#402d5d mixed progressively with black.
Tints
#402d5d mixed progressively with white.
Tones
#402d5d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-402d5d {
color: #402d5d;
}
.bg-402d5d {
background-color: #402d5d;
color: #ffffff;
}
.border-402d5d {
border: 2px solid #402d5d;
}
:root {
--color-primary: #402d5d;
--color-primary-rgb: 64 45 93;
--color-primary-hsl: 264 35% 27%;
}
.gradient-402d5d {
background: linear-gradient(135deg, #402d5d, #582d5d);
}
.shadow-402d5d {
box-shadow: 0 8px 24px rgb(64 45 93 / 0.35);
}
Dark Slate Blue
#402d5d rgb(64, 45, 93) hsl(264, 35%, 27%) Dark Slate Blue
#4a5d2d rgb(74, 93, 45) hsl(84, 35%, 27%) Army Green
#5d402d rgb(93, 64, 45) hsl(24, 35%, 27%) Coffee
#2d5d40 rgb(45, 93, 64) hsl(144, 35%, 27%) Hunter Green