#6a5c87 ≈ Royal Purple
#6a5c87 is a color from the violet family, with medium lightness and muted saturation. In the RGB model it is made of 41.57% red, 36.08% green and 52.94% blue; printed in CMYK it uses 21.48% cyan, 31.85% magenta, 0% yellow and 47.06% black. Its hue angle is 259.53°, with 18.94% saturation and 44.51% 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.01:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 9.63.
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.1247 |
Shades
#6a5c87 mixed progressively with black.
Tints
#6a5c87 mixed progressively with white.
Tones
#6a5c87 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-6a5c87 {
color: #6a5c87;
}
.bg-6a5c87 {
background-color: #6a5c87;
color: #ffffff;
}
.border-6a5c87 {
border: 2px solid #6a5c87;
}
:root {
--color-primary: #6a5c87;
--color-primary-rgb: 106 92 135;
--color-primary-hsl: 260 19% 45%;
}
.gradient-6a5c87 {
background: linear-gradient(135deg, #6a5c87, #7f5c87);
}
.shadow-6a5c87 {
box-shadow: 0 8px 24px rgb(106 92 135 / 0.35);
}
Royal Purple
#6a5c87 rgb(106, 92, 135) hsl(260, 19%, 45%) Royal Purple
#79875c rgb(121, 135, 92) hsl(80, 19%, 45%) Moss Green
#876a5c rgb(135, 106, 92) hsl(20, 19%, 45%) Raw Umber
#5c876a rgb(92, 135, 106) hsl(140, 19%, 45%) Viridian