#2f2fff ≈ Han Purple
#2f2fff is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 18.43% red, 18.43% green and 100% blue; printed in CMYK it uses 81.57% cyan, 81.57% magenta, 0% yellow and 0% black. Its hue angle is 240°, with 100% saturation and 59.22% 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.07:1 (WCAG AAA). The closest named color is Han Purple (#5218fa), ΔE 3.52.
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.0986 |
Shades
#2f2fff mixed progressively with black.
Tints
#2f2fff mixed progressively with white.
Tones
#2f2fff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2f2fff {
color: #2f2fff;
}
.bg-2f2fff {
background-color: #2f2fff;
color: #ffffff;
}
.border-2f2fff {
border: 2px solid #2f2fff;
}
:root {
--color-primary: #2f2fff;
--color-primary-rgb: 47 47 255;
--color-primary-hsl: 240 100% 59%;
}
.gradient-2f2fff {
background: linear-gradient(135deg, #2f2fff, #972fff);
}
.shadow-2f2fff {
box-shadow: 0 8px 24px rgb(47 47 255 / 0.35);
}
Han Purple
#2f2fff rgb(47, 47, 255) hsl(240, 100%, 59%) Han Purple
#ffff2f rgb(255, 255, 47) hsl(60, 100%, 59%) Daffodil
#ff2f2f rgb(255, 47, 47) hsl(0, 100%, 59%) Tractor Red
#2fff2f rgb(47, 255, 47) hsl(120, 100%, 59%) Neon Green