#8a338f ≈ Dark Magenta
#8a338f is a color from the magenta family, with low lightness and moderate saturation. In the RGB model it is made of 54.12% red, 20% green and 56.08% blue; printed in CMYK it uses 3.5% cyan, 64.34% magenta, 0% yellow and 43.92% black. Its hue angle is 296.74°, with 47.42% saturation and 38.04% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 7.12:1 (WCAG AAA). The closest named color is Dark Magenta (#8b008b), ΔE 5.38.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #993399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0975 |
Shades
#8a338f mixed progressively with black.
Tints
#8a338f mixed progressively with white.
Tones
#8a338f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a338f {
color: #8a338f;
}
.bg-8a338f {
background-color: #8a338f;
color: #ffffff;
}
.border-8a338f {
border: 2px solid #8a338f;
}
:root {
--color-primary: #8a338f;
--color-primary-rgb: 138 51 143;
--color-primary-hsl: 297 47% 38%;
}
.gradient-8a338f {
background: linear-gradient(135deg, #8a338f, #8f3366);
}
.shadow-8a338f {
box-shadow: 0 8px 24px rgb(138 51 143 / 0.35);
}
Dark Magenta
#8a338f rgb(138, 51, 143) hsl(297, 47%, 38%) Dark Magenta
#388f33 rgb(56, 143, 51) hsl(117, 47%, 38%) Forest Green
#8f8a33 rgb(143, 138, 51) hsl(57, 47%, 38%) Olive
#338f8a rgb(51, 143, 138) hsl(177, 47%, 38%) Dark Cyan