#5f45cd ≈ Iris
#5f45cd is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 37.25% red, 27.06% green and 80.39% blue; printed in CMYK it uses 53.66% cyan, 66.34% magenta, 0% yellow and 19.61% black. Its hue angle is 251.47°, with 57.63% saturation and 53.73% 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.52:1 (WCAG AA). The closest named color is Iris (#5a4fcf), ΔE 2.93.
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.111 |
Shades
#5f45cd mixed progressively with black.
Tints
#5f45cd mixed progressively with white.
Tones
#5f45cd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5f45cd {
color: #5f45cd;
}
.bg-5f45cd {
background-color: #5f45cd;
color: #ffffff;
}
.border-5f45cd {
border: 2px solid #5f45cd;
}
:root {
--color-primary: #5f45cd;
--color-primary-rgb: 95 69 205;
--color-primary-hsl: 251 58% 54%;
}
.gradient-5f45cd {
background: linear-gradient(135deg, #5f45cd, #a345cd);
}
.shadow-5f45cd {
box-shadow: 0 8px 24px rgb(95 69 205 / 0.35);
}
Iris
#5f45cd rgb(95, 69, 205) hsl(251, 58%, 54%) Iris
#b3cd45 rgb(179, 205, 69) hsl(71, 58%, 54%) June Bud
#cd5f45 rgb(205, 95, 69) hsl(11, 58%, 54%) Cinnabar
#45cd5f rgb(69, 205, 95) hsl(131, 58%, 54%) Malachite