#240126 ≈ Tyrian Purple
#240126 is a color from the magenta family, with very low lightness and muted saturation. In the RGB model it is made of 14.12% red, 0.39% green and 14.9% blue; printed in CMYK it uses 5.26% cyan, 97.37% magenta, 0% yellow and 85.1% black. Its hue angle is 296.76°, with 94.87% saturation and 7.65% 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 luxury branding. White text on this color reaches a contrast ratio of 18.96:1 (WCAG AAA). The closest named color is Tyrian Purple (#66023c), ΔE 15.19.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330033 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0054 |
Shades
#240126 mixed progressively with black.
Tints
#240126 mixed progressively with white.
Tones
#240126 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-240126 {
color: #240126;
}
.bg-240126 {
background-color: #240126;
color: #ffffff;
}
.border-240126 {
border: 2px solid #240126;
}
:root {
--color-primary: #240126;
--color-primary-rgb: 36 1 38;
--color-primary-hsl: 297 95% 8%;
}
.gradient-240126 {
background: linear-gradient(135deg, #240126, #260116);
}
.shadow-240126 {
box-shadow: 0 8px 24px rgb(36 1 38 / 0.35);
}
Tyrian Purple
#240126 rgb(36, 1, 38) hsl(297, 95%, 8%) Tyrian Purple
#032601 rgb(3, 38, 1) hsl(117, 95%, 8%) Phthalo Green
#262401 rgb(38, 36, 1) hsl(57, 95%, 8%) Black Olive
#012624 rgb(1, 38, 36) hsl(177, 95%, 8%) Phthalo Green