#2d1298 ≈ Zaffre
#2d1298 is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 17.65% red, 7.06% green and 59.61% blue; printed in CMYK it uses 70.39% cyan, 88.16% magenta, 0% yellow and 40.39% black. Its hue angle is 252.09°, with 78.82% saturation and 33.33% 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 corporate identities. White text on this color reaches a contrast ratio of 12.72:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 3.04.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0326 |
Shades
#2d1298 mixed progressively with black.
Tints
#2d1298 mixed progressively with white.
Tones
#2d1298 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2d1298 {
color: #2d1298;
}
.bg-2d1298 {
background-color: #2d1298;
color: #ffffff;
}
.border-2d1298 {
border: 2px solid #2d1298;
}
:root {
--color-primary: #2d1298;
--color-primary-rgb: 45 18 152;
--color-primary-hsl: 252 79% 33%;
}
.gradient-2d1298 {
background: linear-gradient(135deg, #2d1298, #701298);
}
.shadow-2d1298 {
box-shadow: 0 8px 24px rgb(45 18 152 / 0.35);
}
Zaffre
#2d1298 rgb(45, 18, 152) hsl(252, 79%, 33%) Zaffre
#7d9812 rgb(125, 152, 18) hsl(72, 79%, 33%) Olive Drab
#982d12 rgb(152, 45, 18) hsl(12, 79%, 33%) Kobe
#12982d rgb(18, 152, 45) hsl(132, 79%, 33%) Islamic Green