#4a0fac ≈ Medium Blue
#4a0fac is a color from the violet family, with low lightness and strong saturation. In the RGB model it is made of 29.02% red, 5.88% green and 67.45% blue; printed in CMYK it uses 56.98% cyan, 91.28% magenta, 0% yellow and 32.55% black. Its hue angle is 262.55°, with 83.96% saturation and 36.67% 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 10.74:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 5.55.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0478 |
Shades
#4a0fac mixed progressively with black.
Tints
#4a0fac mixed progressively with white.
Tones
#4a0fac mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-4a0fac {
color: #4a0fac;
}
.bg-4a0fac {
background-color: #4a0fac;
color: #ffffff;
}
.border-4a0fac {
border: 2px solid #4a0fac;
}
:root {
--color-primary: #4a0fac;
--color-primary-rgb: 74 15 172;
--color-primary-hsl: 263 84% 37%;
}
.gradient-4a0fac {
background: linear-gradient(135deg, #4a0fac, #990fac);
}
.shadow-4a0fac {
box-shadow: 0 8px 24px rgb(74 15 172 / 0.35);
}
Medium Blue
#4a0fac rgb(74, 15, 172) hsl(263, 84%, 37%) Medium Blue
#71ac0f rgb(113, 172, 15) hsl(83, 84%, 37%) Apple Green
#ac4a0f rgb(172, 74, 15) hsl(23, 84%, 37%) Rust
#0fac4a rgb(15, 172, 74) hsl(143, 84%, 37%) Medium Sea Green