#3831ea ≈ Han Purple
#3831ea is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 21.96% red, 19.22% green and 91.76% blue; printed in CMYK it uses 76.07% cyan, 79.06% magenta, 0% yellow and 8.24% black. Its hue angle is 242.27°, with 81.5% saturation and 55.49% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and call-to-action buttons. White text on this color reaches a contrast ratio of 7.51:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.89.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #3333ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0898 |
Shades
#3831ea mixed progressively with black.
Tints
#3831ea mixed progressively with white.
Tones
#3831ea mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-3831ea {
color: #3831ea;
}
.bg-3831ea {
background-color: #3831ea;
color: #ffffff;
}
.border-3831ea {
border: 2px solid #3831ea;
}
:root {
--color-primary: #3831ea;
--color-primary-rgb: 56 49 234;
--color-primary-hsl: 242 82% 55%;
}
.gradient-3831ea {
background: linear-gradient(135deg, #3831ea, #9431ea);
}
.shadow-3831ea {
box-shadow: 0 8px 24px rgb(56 49 234 / 0.35);
}
Han Purple
#3831ea rgb(56, 49, 234) hsl(242, 82%, 55%) Han Purple
#e3ea31 rgb(227, 234, 49) hsl(62, 82%, 55%) Pear
#ea3831 rgb(234, 56, 49) hsl(2, 82%, 55%) Cinnabar
#31ea38 rgb(49, 234, 56) hsl(122, 82%, 55%) Lime