#4e2daa ≈ Ocean Blue
#4e2daa is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 30.59% red, 17.65% green and 66.67% blue; printed in CMYK it uses 54.12% cyan, 73.53% magenta, 0% yellow and 33.33% black. Its hue angle is 255.84°, with 58.14% saturation and 42.16% 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 9.21:1 (WCAG AAA). The closest named color is Ocean Blue (#4f42b5), ΔE 5.52.
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.064 |
Shades
#4e2daa mixed progressively with black.
Tints
#4e2daa mixed progressively with white.
Tones
#4e2daa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4e2daa {
color: #4e2daa;
}
.bg-4e2daa {
background-color: #4e2daa;
color: #ffffff;
}
.border-4e2daa {
border: 2px solid #4e2daa;
}
:root {
--color-primary: #4e2daa;
--color-primary-rgb: 78 45 170;
--color-primary-hsl: 256 58% 42%;
}
.gradient-4e2daa {
background: linear-gradient(135deg, #4e2daa, #8d2daa);
}
.shadow-4e2daa {
box-shadow: 0 8px 24px rgb(78 45 170 / 0.35);
}
Ocean Blue
#4e2daa rgb(78, 45, 170) hsl(256, 58%, 42%) Ocean Blue
#89aa2d rgb(137, 170, 45) hsl(76, 58%, 42%) Apple Green
#aa4e2d rgb(170, 78, 45) hsl(16, 58%, 42%) Sienna
#2daa4e rgb(45, 170, 78) hsl(136, 58%, 42%) Medium Sea Green