#604da2 ≈ Royal Purple
#604da2 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 37.65% red, 30.2% green and 63.53% blue; printed in CMYK it uses 40.74% cyan, 52.47% magenta, 0% yellow and 36.47% black. Its hue angle is 253.41°, with 35.56% saturation and 46.86% 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.82:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 5.17.
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.104 |
Shades
#604da2 mixed progressively with black.
Tints
#604da2 mixed progressively with white.
Tones
#604da2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-604da2 {
color: #604da2;
}
.bg-604da2 {
background-color: #604da2;
color: #ffffff;
}
.border-604da2 {
border: 2px solid #604da2;
}
:root {
--color-primary: #604da2;
--color-primary-rgb: 96 77 162;
--color-primary-hsl: 253 36% 47%;
}
.gradient-604da2 {
background: linear-gradient(135deg, #604da2, #8a4da2);
}
.shadow-604da2 {
box-shadow: 0 8px 24px rgb(96 77 162 / 0.35);
}
Royal Purple
#604da2 rgb(96, 77, 162) hsl(253, 36%, 47%) Royal Purple
#8fa24d rgb(143, 162, 77) hsl(73, 36%, 47%) Moss Green
#a2604d rgb(162, 96, 77) hsl(13, 36%, 47%) Redwood
#4da260 rgb(77, 162, 96) hsl(133, 36%, 47%) Shamrock Green