#5c22a2 ≈ Rebecca Purple
#5c22a2 is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 36.08% red, 13.33% green and 63.53% blue; printed in CMYK it uses 43.21% cyan, 79.01% magenta, 0% yellow and 36.47% black. Its hue angle is 267.19°, with 65.31% saturation and 38.43% 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 9.52:1 (WCAG AAA). The closest named color is Rebecca Purple (#663399), ΔE 4.37.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #663399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0603 |
Shades
#5c22a2 mixed progressively with black.
Tints
#5c22a2 mixed progressively with white.
Tones
#5c22a2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5c22a2 {
color: #5c22a2;
}
.bg-5c22a2 {
background-color: #5c22a2;
color: #ffffff;
}
.border-5c22a2 {
border: 2px solid #5c22a2;
}
:root {
--color-primary: #5c22a2;
--color-primary-rgb: 92 34 162;
--color-primary-hsl: 267 65% 38%;
}
.gradient-5c22a2 {
background: linear-gradient(135deg, #5c22a2, #9c22a2);
}
.shadow-5c22a2 {
box-shadow: 0 8px 24px rgb(92 34 162 / 0.35);
}
Rebecca Purple
#5c22a2 rgb(92, 34, 162) hsl(267, 65%, 38%) Rebecca Purple
#68a222 rgb(104, 162, 34) hsl(87, 65%, 38%) Olive Drab
#a25c22 rgb(162, 92, 34) hsl(27, 65%, 38%) Ginger
#22a25c rgb(34, 162, 92) hsl(147, 65%, 38%) Shamrock Green