#340dad ≈ Zaffre
#340dad 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 67.84% blue; printed in CMYK it uses 69.94% cyan, 92.49% magenta, 0% yellow and 32.16% black. Its hue angle is 254.63°, with 86.02% saturation and 36.47% 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.62:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 3.24.
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.0404 |
Shades
#340dad mixed progressively with black.
Tints
#340dad mixed progressively with white.
Tones
#340dad mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-340dad {
color: #340dad;
}
.bg-340dad {
background-color: #340dad;
color: #ffffff;
}
.border-340dad {
border: 2px solid #340dad;
}
:root {
--color-primary: #340dad;
--color-primary-rgb: 52 13 173;
--color-primary-hsl: 255 86% 36%;
}
.gradient-340dad {
background: linear-gradient(135deg, #340dad, #840dad);
}
.shadow-340dad {
box-shadow: 0 8px 24px rgb(52 13 173 / 0.35);
}
Zaffre
#340dad rgb(52, 13, 173) hsl(255, 86%, 36%) Zaffre
#86ad0d rgb(134, 173, 13) hsl(75, 86%, 36%) Apple Green
#ad340d rgb(173, 52, 13) hsl(15, 86%, 36%) Rust
#0dad34 rgb(13, 173, 52) hsl(135, 86%, 36%) Kelly Green