#5a3aaa ≈ Ocean Blue
#5a3aaa is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 35.29% red, 22.75% green and 66.67% blue; printed in CMYK it uses 47.06% cyan, 65.88% magenta, 0% yellow and 33.33% black. Its hue angle is 257.14°, with 49.12% saturation and 44.71% 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 8.01:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 3.57.
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.081 |
Shades
#5a3aaa mixed progressively with black.
Tints
#5a3aaa mixed progressively with white.
Tones
#5a3aaa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-5a3aaa {
color: #5a3aaa;
}
.bg-5a3aaa {
background-color: #5a3aaa;
color: #ffffff;
}
.border-5a3aaa {
border: 2px solid #5a3aaa;
}
:root {
--color-primary: #5a3aaa;
--color-primary-rgb: 90 58 170;
--color-primary-hsl: 257 49% 45%;
}
.gradient-5a3aaa {
background: linear-gradient(135deg, #5a3aaa, #923aaa);
}
.shadow-5a3aaa {
box-shadow: 0 8px 24px rgb(90 58 170 / 0.35);
}
Ocean Blue
#5a3aaa rgb(90, 58, 170) hsl(257, 49%, 45%) Ocean Blue
#8aaa3a rgb(138, 170, 58) hsl(77, 49%, 45%) Apple Green
#aa5a3a rgb(170, 90, 58) hsl(17, 49%, 45%) Sienna
#3aaa5a rgb(58, 170, 90) hsl(137, 49%, 45%) Medium Sea Green