#6a548b ≈ Royal Purple
#6a548b is a color from the violet family, with medium lightness and muted saturation. In the RGB model it is made of 41.57% red, 32.94% green and 54.51% blue; printed in CMYK it uses 23.74% cyan, 39.57% magenta, 0% yellow and 45.49% black. Its hue angle is 264°, with 24.66% saturation and 43.73% 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.45:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 6.79.
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.1127 |
Shades
#6a548b mixed progressively with black.
Tints
#6a548b mixed progressively with white.
Tones
#6a548b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-6a548b {
color: #6a548b;
}
.bg-6a548b {
background-color: #6a548b;
color: #ffffff;
}
.border-6a548b {
border: 2px solid #6a548b;
}
:root {
--color-primary: #6a548b;
--color-primary-rgb: 106 84 139;
--color-primary-hsl: 264 25% 44%;
}
.gradient-6a548b {
background: linear-gradient(135deg, #6a548b, #86548b);
}
.shadow-6a548b {
box-shadow: 0 8px 24px rgb(106 84 139 / 0.35);
}
Royal Purple
#6a548b rgb(106, 84, 139) hsl(264, 25%, 44%) Royal Purple
#758b54 rgb(117, 139, 84) hsl(84, 25%, 44%) Moss Green
#8b6a54 rgb(139, 106, 84) hsl(24, 25%, 44%) Raw Umber
#548b6a rgb(84, 139, 106) hsl(144, 25%, 44%) Viridian