#400a2f ≈ Tyrian Purple
#400a2f is a color from the magenta family, with very low lightness and muted saturation. In the RGB model it is made of 25.1% red, 3.92% green and 18.43% blue; printed in CMYK it uses 0% cyan, 84.38% magenta, 26.56% yellow and 74.9% black. Its hue angle is 318.89°, with 72.97% saturation and 14.51% 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 16.12:1 (WCAG AAA). The closest named color is Tyrian Purple (#66023c), ΔE 8.23.
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.0151 |
Shades
#400a2f mixed progressively with black.
Tints
#400a2f mixed progressively with white.
Tones
#400a2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-400a2f {
color: #400a2f;
}
.bg-400a2f {
background-color: #400a2f;
color: #ffffff;
}
.border-400a2f {
border: 2px solid #400a2f;
}
:root {
--color-primary: #400a2f;
--color-primary-rgb: 64 10 47;
--color-primary-hsl: 319 73% 15%;
}
.gradient-400a2f {
background: linear-gradient(135deg, #400a2f, #400a14);
}
.shadow-400a2f {
box-shadow: 0 8px 24px rgb(64 10 47 / 0.35);
}
Tyrian Purple
#400a2f rgb(64, 10, 47) hsl(319, 73%, 15%) Tyrian Purple
#0a401b rgb(10, 64, 27) hsl(139, 73%, 15%) British Racing Green
#2f400a rgb(47, 64, 10) hsl(79, 73%, 15%) Army Green
#0a2f40 rgb(10, 47, 64) hsl(199, 73%, 15%) Prussian Blue