#310ea3 ≈ Zaffre
#310ea3 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.49% green and 63.92% blue; printed in CMYK it uses 69.94% cyan, 91.41% magenta, 0% yellow and 36.08% black. Its hue angle is 254.09°, with 84.18% 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.19: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.0361 |
Shades
#310ea3 mixed progressively with black.
Tints
#310ea3 mixed progressively with white.
Tones
#310ea3 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-310ea3 {
color: #310ea3;
}
.bg-310ea3 {
background-color: #310ea3;
color: #ffffff;
}
.border-310ea3 {
border: 2px solid #310ea3;
}
:root {
--color-primary: #310ea3;
--color-primary-rgb: 49 14 163;
--color-primary-hsl: 254 84% 35%;
}
.gradient-310ea3 {
background: linear-gradient(135deg, #310ea3, #7c0ea3);
}
.shadow-310ea3 {
box-shadow: 0 8px 24px rgb(49 14 163 / 0.35);
}
Zaffre
#310ea3 rgb(49, 14, 163) hsl(254, 84%, 35%) Zaffre
#80a30e rgb(128, 163, 14) hsl(74, 84%, 35%) Apple Green
#a3310e rgb(163, 49, 14) hsl(14, 84%, 35%) Rufous
#0ea331 rgb(14, 163, 49) hsl(134, 84%, 35%) Islamic Green