#400a3c ≈ Tyrian Purple
#400a3c 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 23.53% blue; printed in CMYK it uses 0% cyan, 84.38% magenta, 6.25% yellow and 74.9% black. Its hue angle is 304.44°, 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 15.83:1 (WCAG AAA). The closest named color is Tyrian Purple (#66023c), ΔE 9.9.
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.0163 |
Shades
#400a3c mixed progressively with black.
Tints
#400a3c mixed progressively with white.
Tones
#400a3c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-400a3c {
color: #400a3c;
}
.bg-400a3c {
background-color: #400a3c;
color: #ffffff;
}
.border-400a3c {
border: 2px solid #400a3c;
}
:root {
--color-primary: #400a3c;
--color-primary-rgb: 64 10 60;
--color-primary-hsl: 304 73% 15%;
}
.gradient-400a3c {
background: linear-gradient(135deg, #400a3c, #400a21);
}
.shadow-400a3c {
box-shadow: 0 8px 24px rgb(64 10 60 / 0.35);
}
Tyrian Purple
#400a3c rgb(64, 10, 60) hsl(304, 73%, 15%) Tyrian Purple
#0a400e rgb(10, 64, 14) hsl(124, 73%, 15%) British Racing Green
#3c400a rgb(60, 64, 10) hsl(64, 73%, 15%) Army Green
#0a3c40 rgb(10, 60, 64) hsl(184, 73%, 15%) Midnight Green