#400a21 ≈ Tyrian Purple
#400a21 is a color from the rose family, with very low lightness and muted saturation. In the RGB model it is made of 25.1% red, 3.92% green and 12.94% blue; printed in CMYK it uses 0% cyan, 84.38% magenta, 48.44% yellow and 74.9% black. Its hue angle is 334.44°, with 72.97% saturation and 14.51% lightness in HSL. It is a warm color, often associated with romance, playfulness and affection. Designers typically use it for food and restaurant brands, sales and promotions and luxury branding. White text on this color reaches a contrast ratio of 16.36:1 (WCAG AAA). The closest named color is Tyrian Purple (#66023c), ΔE 8.98.
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.0142 |
Shades
#400a21 mixed progressively with black.
Tints
#400a21 mixed progressively with white.
Tones
#400a21 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-400a21 {
color: #400a21;
}
.bg-400a21 {
background-color: #400a21;
color: #ffffff;
}
.border-400a21 {
border: 2px solid #400a21;
}
:root {
--color-primary: #400a21;
--color-primary-rgb: 64 10 33;
--color-primary-hsl: 334 73% 15%;
}
.gradient-400a21 {
background: linear-gradient(135deg, #400a21, #400e0a);
}
.shadow-400a21 {
box-shadow: 0 8px 24px rgb(64 10 33 / 0.35);
}
Tyrian Purple
#400a21 rgb(64, 10, 33) hsl(334, 73%, 15%) Tyrian Purple
#0a4029 rgb(10, 64, 41) hsl(154, 73%, 15%) British Racing Green
#21400a rgb(33, 64, 10) hsl(94, 73%, 15%) Lincoln Green
#0a2140 rgb(10, 33, 64) hsl(214, 73%, 15%) Oxford Blue