#402c58 ≈ Dark Slate Blue
#402c58 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.25% green and 34.51% blue; printed in CMYK it uses 27.27% cyan, 50% magenta, 0% yellow and 65.49% black. Its hue angle is 267.27°, with 33.33% saturation and 25.88% 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 12.22:1 (WCAG AAA). The closest named color is Dark Slate Blue (#483d8b), ΔE 10.8.
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.036 |
Shades
#402c58 mixed progressively with black.
Tints
#402c58 mixed progressively with white.
Tones
#402c58 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-402c58 {
color: #402c58;
}
.bg-402c58 {
background-color: #402c58;
color: #ffffff;
}
.border-402c58 {
border: 2px solid #402c58;
}
:root {
--color-primary: #402c58;
--color-primary-rgb: 64 44 88;
--color-primary-hsl: 267 33% 26%;
}
.gradient-402c58 {
background: linear-gradient(135deg, #402c58, #562c58);
}
.shadow-402c58 {
box-shadow: 0 8px 24px rgb(64 44 88 / 0.35);
}
Dark Slate Blue
#402c58 rgb(64, 44, 88) hsl(267, 33%, 26%) Dark Slate Blue
#44582c rgb(68, 88, 44) hsl(87, 33%, 26%) Army Green
#58402c rgb(88, 64, 44) hsl(27, 33%, 26%) Coffee
#2c5840 rgb(44, 88, 64) hsl(147, 33%, 26%) Hunter Green