#400a1c ≈ Tyrian Purple
#400a1c 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.98% blue; printed in CMYK it uses 0% cyan, 84.38% magenta, 56.25% yellow and 74.9% black. Its hue angle is 340°, 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.43:1 (WCAG AAA). The closest named color is Tyrian Purple (#66023c), ΔE 10.17.
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
#400a1c mixed progressively with black.
Tints
#400a1c mixed progressively with white.
Tones
#400a1c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-400a1c {
color: #400a1c;
}
.bg-400a1c {
background-color: #400a1c;
color: #ffffff;
}
.border-400a1c {
border: 2px solid #400a1c;
}
:root {
--color-primary: #400a1c;
--color-primary-rgb: 64 10 28;
--color-primary-hsl: 340 73% 15%;
}
.gradient-400a1c {
background: linear-gradient(135deg, #400a1c, #40130a);
}
.shadow-400a1c {
box-shadow: 0 8px 24px rgb(64 10 28 / 0.35);
}
Tyrian Purple
#400a1c rgb(64, 10, 28) hsl(340, 73%, 15%) Tyrian Purple
#0a402e rgb(10, 64, 46) hsl(160, 73%, 15%) British Racing Green
#1c400a rgb(28, 64, 10) hsl(100, 73%, 15%) British Racing Green
#0a1c40 rgb(10, 28, 64) hsl(220, 73%, 15%) Oxford Blue