#340daa ≈ Zaffre
#340daa is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 20.39% red, 5.1% green and 66.67% blue; printed in CMYK it uses 69.41% cyan, 92.35% magenta, 0% yellow and 33.33% black. Its hue angle is 254.9°, with 85.79% saturation and 35.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 call-to-action buttons. White text on this color reaches a contrast ratio of 11.77:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 3.16.
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.0392 |
Shades
#340daa mixed progressively with black.
Tints
#340daa mixed progressively with white.
Tones
#340daa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-340daa {
color: #340daa;
}
.bg-340daa {
background-color: #340daa;
color: #ffffff;
}
.border-340daa {
border: 2px solid #340daa;
}
:root {
--color-primary: #340daa;
--color-primary-rgb: 52 13 170;
--color-primary-hsl: 255 86% 36%;
}
.gradient-340daa {
background: linear-gradient(135deg, #340daa, #820daa);
}
.shadow-340daa {
box-shadow: 0 8px 24px rgb(52 13 170 / 0.35);
}
Zaffre
#340daa rgb(52, 13, 170) hsl(255, 86%, 36%) Zaffre
#83aa0d rgb(131, 170, 13) hsl(75, 86%, 36%) Apple Green
#aa340d rgb(170, 52, 13) hsl(15, 86%, 36%) Rufous
#0daa34 rgb(13, 170, 52) hsl(135, 86%, 36%) Kelly Green