#7c42a0 ≈ Royal Purple
#7c42a0 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 48.63% red, 25.88% green and 62.75% blue; printed in CMYK it uses 22.5% cyan, 58.75% magenta, 0% yellow and 37.25% black. Its hue angle is 277.02°, with 41.59% saturation and 44.31% 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.68:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 4.49.
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.1072 |
Shades
#7c42a0 mixed progressively with black.
Tints
#7c42a0 mixed progressively with white.
Tones
#7c42a0 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7c42a0 {
color: #7c42a0;
}
.bg-7c42a0 {
background-color: #7c42a0;
color: #ffffff;
}
.border-7c42a0 {
border: 2px solid #7c42a0;
}
:root {
--color-primary: #7c42a0;
--color-primary-rgb: 124 66 160;
--color-primary-hsl: 277 42% 44%;
}
.gradient-7c42a0 {
background: linear-gradient(135deg, #7c42a0, #a04295);
}
.shadow-7c42a0 {
box-shadow: 0 8px 24px rgb(124 66 160 / 0.35);
}
Royal Purple
#7c42a0 rgb(124, 66, 160) hsl(277, 42%, 44%) Royal Purple
#66a042 rgb(102, 160, 66) hsl(97, 42%, 44%) Olive Drab
#a07c42 rgb(160, 124, 66) hsl(37, 42%, 44%) Cafe au Lait
#42a07c rgb(66, 160, 124) hsl(157, 42%, 44%) Jungle Green