#542c8a ≈ Rebecca Purple
#542c8a is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 32.94% red, 17.25% green and 54.12% blue; printed in CMYK it uses 39.13% cyan, 68.12% magenta, 0% yellow and 45.88% black. Its hue angle is 265.53°, with 51.65% saturation and 35.69% 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.98:1 (WCAG AAA). The closest named color is Rebecca Purple (#663399), ΔE 3.99.
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.0552 |
Shades
#542c8a mixed progressively with black.
Tints
#542c8a mixed progressively with white.
Tones
#542c8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-542c8a {
color: #542c8a;
}
.bg-542c8a {
background-color: #542c8a;
color: #ffffff;
}
.border-542c8a {
border: 2px solid #542c8a;
}
:root {
--color-primary: #542c8a;
--color-primary-rgb: 84 44 138;
--color-primary-hsl: 266 52% 36%;
}
.gradient-542c8a {
background: linear-gradient(135deg, #542c8a, #832c8a);
}
.shadow-542c8a {
box-shadow: 0 8px 24px rgb(84 44 138 / 0.35);
}
Rebecca Purple
#542c8a rgb(84, 44, 138) hsl(266, 52%, 36%) Rebecca Purple
#628a2c rgb(98, 138, 44) hsl(86, 52%, 36%) Olive Drab
#8a542c rgb(138, 84, 44) hsl(26, 52%, 36%) Russet
#2c8a54 rgb(44, 138, 84) hsl(146, 52%, 36%) Sea Green