#6c5aaa ≈ Royal Purple
#6c5aaa is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 42.35% red, 35.29% green and 66.67% blue; printed in CMYK it uses 36.47% cyan, 47.06% magenta, 0% yellow and 33.33% black. Its hue angle is 253.5°, with 32% saturation and 50.98% 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 5.71:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 4.32.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #666699 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.134 |
Shades
#6c5aaa mixed progressively with black.
Tints
#6c5aaa mixed progressively with white.
Tones
#6c5aaa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-6c5aaa {
color: #6c5aaa;
}
.bg-6c5aaa {
background-color: #6c5aaa;
color: #ffffff;
}
.border-6c5aaa {
border: 2px solid #6c5aaa;
}
:root {
--color-primary: #6c5aaa;
--color-primary-rgb: 108 90 170;
--color-primary-hsl: 254 32% 51%;
}
.gradient-6c5aaa {
background: linear-gradient(135deg, #6c5aaa, #945aaa);
}
.shadow-6c5aaa {
box-shadow: 0 8px 24px rgb(108 90 170 / 0.35);
}
Royal Purple
#6c5aaa rgb(108, 90, 170) hsl(254, 32%, 51%) Royal Purple
#98aa5a rgb(152, 170, 90) hsl(74, 32%, 51%) Moss Green
#aa6c5a rgb(170, 108, 90) hsl(14, 32%, 51%) Redwood
#5aaa6c rgb(90, 170, 108) hsl(134, 32%, 51%) Medium Sea Green