#400a1f ≈ Tyrian Purple
#400a1f 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.16% blue; printed in CMYK it uses 0% cyan, 84.38% magenta, 51.56% yellow and 74.9% black. Its hue angle is 336.67°, 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.39:1 (WCAG AAA). The closest named color is Tyrian Purple (#66023c), ΔE 9.4.
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.0141 |
Shades
#400a1f mixed progressively with black.
Tints
#400a1f mixed progressively with white.
Tones
#400a1f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-400a1f {
color: #400a1f;
}
.bg-400a1f {
background-color: #400a1f;
color: #ffffff;
}
.border-400a1f {
border: 2px solid #400a1f;
}
:root {
--color-primary: #400a1f;
--color-primary-rgb: 64 10 31;
--color-primary-hsl: 337 73% 15%;
}
.gradient-400a1f {
background: linear-gradient(135deg, #400a1f, #40100a);
}
.shadow-400a1f {
box-shadow: 0 8px 24px rgb(64 10 31 / 0.35);
}
Tyrian Purple
#400a1f rgb(64, 10, 31) hsl(337, 73%, 15%) Tyrian Purple
#0a402b rgb(10, 64, 43) hsl(157, 73%, 15%) British Racing Green
#1f400a rgb(31, 64, 10) hsl(97, 73%, 15%) Lincoln Green
#0a1f40 rgb(10, 31, 64) hsl(217, 73%, 15%) Oxford Blue