#5a0bb2 ≈ Medium Blue
#5a0bb2 is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 35.29% red, 4.31% green and 69.8% blue; printed in CMYK it uses 49.44% cyan, 93.82% magenta, 0% yellow and 30.2% black. Its hue angle is 268.38°, with 88.36% saturation and 37.06% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 9.88:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 6.9.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #660099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0563 |
Shades
#5a0bb2 mixed progressively with black.
Tints
#5a0bb2 mixed progressively with white.
Tones
#5a0bb2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5a0bb2 {
color: #5a0bb2;
}
.bg-5a0bb2 {
background-color: #5a0bb2;
color: #ffffff;
}
.border-5a0bb2 {
border: 2px solid #5a0bb2;
}
:root {
--color-primary: #5a0bb2;
--color-primary-rgb: 90 11 178;
--color-primary-hsl: 268 88% 37%;
}
.gradient-5a0bb2 {
background: linear-gradient(135deg, #5a0bb2, #ad0bb2);
}
.shadow-5a0bb2 {
box-shadow: 0 8px 24px rgb(90 11 178 / 0.35);
}
Medium Blue
#5a0bb2 rgb(90, 11, 178) hsl(268, 88%, 37%) Medium Blue
#63b20b rgb(99, 178, 11) hsl(88, 88%, 37%) Kelly Green
#b25a0b rgb(178, 90, 11) hsl(28, 88%, 37%) Ginger
#0bb25a rgb(11, 178, 90) hsl(148, 88%, 37%) Medium Sea Green