#312eff ≈ Han Purple
#312eff is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 19.22% red, 18.04% green and 100% blue; printed in CMYK it uses 80.78% cyan, 81.96% magenta, 0% yellow and 0% black. Its hue angle is 240.86°, with 100% saturation and 59.02% 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.08:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.34.
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.0983 |
Shades
#312eff mixed progressively with black.
Tints
#312eff mixed progressively with white.
Tones
#312eff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-312eff {
color: #312eff;
}
.bg-312eff {
background-color: #312eff;
color: #ffffff;
}
.border-312eff {
border: 2px solid #312eff;
}
:root {
--color-primary: #312eff;
--color-primary-rgb: 49 46 255;
--color-primary-hsl: 241 100% 59%;
}
.gradient-312eff {
background: linear-gradient(135deg, #312eff, #992eff);
}
.shadow-312eff {
box-shadow: 0 8px 24px rgb(49 46 255 / 0.35);
}
Han Purple
#312eff rgb(49, 46, 255) hsl(241, 100%, 59%) Han Purple
#fcff2e rgb(252, 255, 46) hsl(61, 100%, 59%) Daffodil
#ff312e rgb(255, 49, 46) hsl(1, 100%, 59%) Tractor Red
#2eff31 rgb(46, 255, 49) hsl(121, 100%, 59%) Neon Green