#704baf ≈ Royal Purple
#704baf is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 43.92% red, 29.41% green and 68.63% blue; printed in CMYK it uses 36% cyan, 57.14% magenta, 0% yellow and 31.37% black. Its hue angle is 262.2°, with 40% saturation and 49.02% 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.34:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 2.92.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #663399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1157 |
Shades
#704baf mixed progressively with black.
Tints
#704baf mixed progressively with white.
Tones
#704baf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-704baf {
color: #704baf;
}
.bg-704baf {
background-color: #704baf;
color: #ffffff;
}
.border-704baf {
border: 2px solid #704baf;
}
:root {
--color-primary: #704baf;
--color-primary-rgb: 112 75 175;
--color-primary-hsl: 262 40% 49%;
}
.gradient-704baf {
background: linear-gradient(135deg, #704baf, #a24baf);
}
.shadow-704baf {
box-shadow: 0 8px 24px rgb(112 75 175 / 0.35);
}
Royal Purple
#704baf rgb(112, 75, 175) hsl(262, 40%, 49%) Royal Purple
#8aaf4b rgb(138, 175, 75) hsl(82, 40%, 49%) Olivine
#af704b rgb(175, 112, 75) hsl(22, 40%, 49%) Cafe au Lait
#4baf70 rgb(75, 175, 112) hsl(142, 40%, 49%) Medium Sea Green