#332eea ≈ Han Purple
#332eea is a color from the blue family, with medium lightness and strong saturation. In the RGB model it is made of 20% red, 18.04% green and 91.76% blue; printed in CMYK it uses 78.21% cyan, 80.34% magenta, 0% yellow and 8.24% black. Its hue angle is 241.6°, with 81.74% saturation and 54.9% 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.72:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.86.
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.086 |
Shades
#332eea mixed progressively with black.
Tints
#332eea mixed progressively with white.
Tones
#332eea mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-332eea {
color: #332eea;
}
.bg-332eea {
background-color: #332eea;
color: #ffffff;
}
.border-332eea {
border: 2px solid #332eea;
}
:root {
--color-primary: #332eea;
--color-primary-rgb: 51 46 234;
--color-primary-hsl: 242 82% 55%;
}
.gradient-332eea {
background: linear-gradient(135deg, #332eea, #912eea);
}
.shadow-332eea {
box-shadow: 0 8px 24px rgb(51 46 234 / 0.35);
}
Han Purple
#332eea rgb(51, 46, 234) hsl(242, 82%, 55%) Han Purple
#e5ea2e rgb(229, 234, 46) hsl(62, 82%, 55%) Titanium Yellow
#ea332e rgb(234, 51, 46) hsl(2, 82%, 55%) Cinnabar
#2eea33 rgb(46, 234, 51) hsl(122, 82%, 55%) Lime