#5a2aa2 ≈ Rebecca Purple
#5a2aa2 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 35.29% red, 16.47% green and 63.53% blue; printed in CMYK it uses 44.44% cyan, 74.07% magenta, 0% yellow and 36.47% black. Its hue angle is 264°, with 58.82% saturation and 40% 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.18:1 (WCAG AAA). The closest named color is Rebecca Purple (#663399), ΔE 3.65.
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.0644 |
Shades
#5a2aa2 mixed progressively with black.
Tints
#5a2aa2 mixed progressively with white.
Tones
#5a2aa2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5a2aa2 {
color: #5a2aa2;
}
.bg-5a2aa2 {
background-color: #5a2aa2;
color: #ffffff;
}
.border-5a2aa2 {
border: 2px solid #5a2aa2;
}
:root {
--color-primary: #5a2aa2;
--color-primary-rgb: 90 42 162;
--color-primary-hsl: 264 59% 40%;
}
.gradient-5a2aa2 {
background: linear-gradient(135deg, #5a2aa2, #962aa2);
}
.shadow-5a2aa2 {
box-shadow: 0 8px 24px rgb(90 42 162 / 0.35);
}
Rebecca Purple
#5a2aa2 rgb(90, 42, 162) hsl(264, 59%, 40%) Rebecca Purple
#72a22a rgb(114, 162, 42) hsl(84, 59%, 40%) Olive Drab
#a25a2a rgb(162, 90, 42) hsl(24, 59%, 40%) Sienna
#2aa25a rgb(42, 162, 90) hsl(144, 59%, 40%) Shamrock Green