#6e40cb ≈ Iris
#6e40cb is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 43.14% red, 25.1% green and 79.61% blue; printed in CMYK it uses 45.81% cyan, 68.47% magenta, 0% yellow and 20.39% black. Its hue angle is 259.86°, with 57.2% saturation and 52.35% 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 6.44:1 (WCAG AA). The closest named color is Iris (#5a4fcf), ΔE 5.28.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #6633cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1129 |
Shades
#6e40cb mixed progressively with black.
Tints
#6e40cb mixed progressively with white.
Tones
#6e40cb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-6e40cb {
color: #6e40cb;
}
.bg-6e40cb {
background-color: #6e40cb;
color: #ffffff;
}
.border-6e40cb {
border: 2px solid #6e40cb;
}
:root {
--color-primary: #6e40cb;
--color-primary-rgb: 110 64 203;
--color-primary-hsl: 260 57% 52%;
}
.gradient-6e40cb {
background: linear-gradient(135deg, #6e40cb, #b440cb);
}
.shadow-6e40cb {
box-shadow: 0 8px 24px rgb(110 64 203 / 0.35);
}
Iris
#6e40cb rgb(110, 64, 203) hsl(260, 57%, 52%) Iris
#9dcb40 rgb(157, 203, 64) hsl(80, 57%, 52%) Yellow Green
#cb6e40 rgb(203, 110, 64) hsl(20, 57%, 52%) Chocolate
#40cb6e rgb(64, 203, 110) hsl(140, 57%, 52%) Emerald