#400a1b ≈ Tyrian Purple
#400a1b 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 10.59% blue; printed in CMYK it uses 0% cyan, 84.38% magenta, 57.81% yellow and 74.9% black. Its hue angle is 341.11°, 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.44:1 (WCAG AAA). The closest named color is Tyrian Purple (#66023c), ΔE 10.47.
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.0139 |
Shades
#400a1b mixed progressively with black.
Tints
#400a1b mixed progressively with white.
Tones
#400a1b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-400a1b {
color: #400a1b;
}
.bg-400a1b {
background-color: #400a1b;
color: #ffffff;
}
.border-400a1b {
border: 2px solid #400a1b;
}
:root {
--color-primary: #400a1b;
--color-primary-rgb: 64 10 27;
--color-primary-hsl: 341 73% 15%;
}
.gradient-400a1b {
background: linear-gradient(135deg, #400a1b, #40140a);
}
.shadow-400a1b {
box-shadow: 0 8px 24px rgb(64 10 27 / 0.35);
}
Tyrian Purple
#400a1b rgb(64, 10, 27) hsl(341, 73%, 15%) Tyrian Purple
#0a402f rgb(10, 64, 47) hsl(161, 73%, 15%) Phthalo Green
#1b400a rgb(27, 64, 10) hsl(101, 73%, 15%) British Racing Green
#0a1b40 rgb(10, 27, 64) hsl(221, 73%, 15%) Oxford Blue