#6a5eaa ≈ Royal Purple
#6a5eaa is a color from the blue family, with medium lightness and moderate saturation. In the RGB model it is made of 41.57% red, 36.86% green and 66.67% blue; printed in CMYK it uses 37.65% cyan, 44.71% magenta, 0% yellow and 33.33% black. Its hue angle is 249.47°, with 30.89% saturation and 51.76% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and brand accents. White text on this color reaches a contrast ratio of 5.53:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 5.82.
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.1397 |
Shades
#6a5eaa mixed progressively with black.
Tints
#6a5eaa mixed progressively with white.
Tones
#6a5eaa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-6a5eaa {
color: #6a5eaa;
}
.bg-6a5eaa {
background-color: #6a5eaa;
color: #ffffff;
}
.border-6a5eaa {
border: 2px solid #6a5eaa;
}
:root {
--color-primary: #6a5eaa;
--color-primary-rgb: 106 94 170;
--color-primary-hsl: 249 31% 52%;
}
.gradient-6a5eaa {
background: linear-gradient(135deg, #6a5eaa, #905eaa);
}
.shadow-6a5eaa {
box-shadow: 0 8px 24px rgb(106 94 170 / 0.35);
}
Royal Purple
#6a5eaa rgb(106, 94, 170) hsl(249, 31%, 52%) Royal Purple
#9eaa5e rgb(158, 170, 94) hsl(69, 31%, 52%) Moss Green
#aa6a5e rgb(170, 106, 94) hsl(9, 31%, 52%) Redwood
#5eaa6a rgb(94, 170, 106) hsl(129, 31%, 52%) Medium Sea Green