#645787 ≈ Royal Purple
#645787 is a color from the violet family, with medium lightness and muted saturation. In the RGB model it is made of 39.22% red, 34.12% green and 52.94% blue; printed in CMYK it uses 25.93% cyan, 35.56% magenta, 0% yellow and 47.06% black. Its hue angle is 256.25°, with 21.62% saturation and 43.53% 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 8.7.
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
#645787 mixed progressively with black.
Tints
#645787 mixed progressively with white.
Tones
#645787 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-645787 {
color: #645787;
}
.bg-645787 {
background-color: #645787;
color: #ffffff;
}
.border-645787 {
border: 2px solid #645787;
}
:root {
--color-primary: #645787;
--color-primary-rgb: 100 87 135;
--color-primary-hsl: 256 22% 44%;
}
.gradient-645787 {
background: linear-gradient(135deg, #645787, #7c5787);
}
.shadow-645787 {
box-shadow: 0 8px 24px rgb(100 87 135 / 0.35);
}
Royal Purple
#645787 rgb(100, 87, 135) hsl(256, 22%, 44%) Royal Purple
#7a8757 rgb(122, 135, 87) hsl(76, 22%, 44%) Moss Green
#876457 rgb(135, 100, 87) hsl(16, 22%, 44%) Copper Rose
#578764 rgb(87, 135, 100) hsl(136, 22%, 44%) Viridian