#381ea1 ≈ Zaffre
#381ea1 is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 21.96% red, 11.76% green and 63.14% blue; printed in CMYK it uses 65.22% cyan, 81.37% magenta, 0% yellow and 36.86% black. Its hue angle is 251.91°, with 68.59% saturation and 37.45% 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 brand accents. White text on this color reaches a contrast ratio of 11.24:1 (WCAG AAA). The closest named color is Zaffre (#0014a8), ΔE 3.84.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0434 |
Shades
#381ea1 mixed progressively with black.
Tints
#381ea1 mixed progressively with white.
Tones
#381ea1 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-381ea1 {
color: #381ea1;
}
.bg-381ea1 {
background-color: #381ea1;
color: #ffffff;
}
.border-381ea1 {
border: 2px solid #381ea1;
}
:root {
--color-primary: #381ea1;
--color-primary-rgb: 56 30 161;
--color-primary-hsl: 252 69% 37%;
}
.gradient-381ea1 {
background: linear-gradient(135deg, #381ea1, #7a1ea1);
}
.shadow-381ea1 {
box-shadow: 0 8px 24px rgb(56 30 161 / 0.35);
}
Zaffre
#381ea1 rgb(56, 30, 161) hsl(252, 69%, 37%) Zaffre
#87a11e rgb(135, 161, 30) hsl(72, 69%, 37%) Apple Green
#a1381e rgb(161, 56, 30) hsl(12, 69%, 37%) Rufous
#1ea138 rgb(30, 161, 56) hsl(132, 69%, 37%) Islamic Green