#8a237a ≈ Mardi Gras
#8a237a is a color from the magenta family, with low lightness and moderate saturation. In the RGB model it is made of 54.12% red, 13.73% green and 47.84% blue; printed in CMYK it uses 0% cyan, 74.64% magenta, 11.59% yellow and 45.88% black. Its hue angle is 309.32°, with 59.54% saturation and 33.92% 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 corporate identities. White text on this color reaches a contrast ratio of 8.07:1 (WCAG AAA). The closest named color is Mardi Gras (#880085), ΔE 4.43.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #993366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0801 |
Shades
#8a237a mixed progressively with black.
Tints
#8a237a mixed progressively with white.
Tones
#8a237a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a237a {
color: #8a237a;
}
.bg-8a237a {
background-color: #8a237a;
color: #ffffff;
}
.border-8a237a {
border: 2px solid #8a237a;
}
:root {
--color-primary: #8a237a;
--color-primary-rgb: 138 35 122;
--color-primary-hsl: 309 60% 34%;
}
.gradient-8a237a {
background: linear-gradient(135deg, #8a237a, #8a2346);
}
.shadow-8a237a {
box-shadow: 0 8px 24px rgb(138 35 122 / 0.35);
}
Mardi Gras
#8a237a rgb(138, 35, 122) hsl(309, 60%, 34%) Mardi Gras
#238a33 rgb(35, 138, 51) hsl(129, 60%, 34%) Forest Green
#7a8a23 rgb(122, 138, 35) hsl(69, 60%, 34%) Olive Drab
#237a8a rgb(35, 122, 138) hsl(189, 60%, 34%) Teal Blue