#310ca2 ≈ Zaffre
#310ca2 is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 19.22% red, 4.71% green and 63.53% blue; printed in CMYK it uses 69.75% cyan, 92.59% magenta, 0% yellow and 36.47% black. Its hue angle is 254.8°, with 86.21% saturation and 34.12% 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.32:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 2.96.
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.0352 |
Shades
#310ca2 mixed progressively with black.
Tints
#310ca2 mixed progressively with white.
Tones
#310ca2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-310ca2 {
color: #310ca2;
}
.bg-310ca2 {
background-color: #310ca2;
color: #ffffff;
}
.border-310ca2 {
border: 2px solid #310ca2;
}
:root {
--color-primary: #310ca2;
--color-primary-rgb: 49 12 162;
--color-primary-hsl: 255 86% 34%;
}
.gradient-310ca2 {
background: linear-gradient(135deg, #310ca2, #7c0ca2);
}
.shadow-310ca2 {
box-shadow: 0 8px 24px rgb(49 12 162 / 0.35);
}
Zaffre
#310ca2 rgb(49, 12, 162) hsl(255, 86%, 34%) Zaffre
#7da20c rgb(125, 162, 12) hsl(75, 86%, 34%) Apple Green
#a2310c rgb(162, 49, 12) hsl(15, 86%, 34%) Rufous
#0ca231 rgb(12, 162, 49) hsl(135, 86%, 34%) Islamic Green