#310fa2 ≈ Zaffre
#310fa2 is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 19.22% red, 5.88% green and 63.53% blue; printed in CMYK it uses 69.75% cyan, 90.74% magenta, 0% yellow and 36.47% black. Its hue angle is 253.88°, with 83.05% saturation and 34.71% 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.2:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 2.86.
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.036 |
Shades
#310fa2 mixed progressively with black.
Tints
#310fa2 mixed progressively with white.
Tones
#310fa2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-310fa2 {
color: #310fa2;
}
.bg-310fa2 {
background-color: #310fa2;
color: #ffffff;
}
.border-310fa2 {
border: 2px solid #310fa2;
}
:root {
--color-primary: #310fa2;
--color-primary-rgb: 49 15 162;
--color-primary-hsl: 254 83% 35%;
}
.gradient-310fa2 {
background: linear-gradient(135deg, #310fa2, #7b0fa2);
}
.shadow-310fa2 {
box-shadow: 0 8px 24px rgb(49 15 162 / 0.35);
}
Zaffre
#310fa2 rgb(49, 15, 162) hsl(254, 83%, 35%) Zaffre
#80a20f rgb(128, 162, 15) hsl(74, 83%, 35%) Apple Green
#a2310f rgb(162, 49, 15) hsl(14, 83%, 35%) Rufous
#0fa231 rgb(15, 162, 49) hsl(134, 83%, 35%) Islamic Green