#40163f ≈ Tyrian Purple
#40163f 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, 8.63% green and 24.71% blue; printed in CMYK it uses 0% cyan, 65.62% magenta, 1.56% yellow and 74.9% black. Its hue angle is 301.43°, with 48.84% saturation and 16.86% 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 14.95:1 (WCAG AAA). The closest named color is Tyrian Purple (#66023c), ΔE 10.44.
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.0202 |
Shades
#40163f mixed progressively with black.
Tints
#40163f mixed progressively with white.
Tones
#40163f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-40163f {
color: #40163f;
}
.bg-40163f {
background-color: #40163f;
color: #ffffff;
}
.border-40163f {
border: 2px solid #40163f;
}
:root {
--color-primary: #40163f;
--color-primary-rgb: 64 22 63;
--color-primary-hsl: 301 49% 17%;
}
.gradient-40163f {
background: linear-gradient(135deg, #40163f, #40162a);
}
.shadow-40163f {
box-shadow: 0 8px 24px rgb(64 22 63 / 0.35);
}
Tyrian Purple
#40163f rgb(64, 22, 63) hsl(301, 49%, 17%) Tyrian Purple
#164017 rgb(22, 64, 23) hsl(121, 49%, 17%) British Racing Green
#3f4016 rgb(63, 64, 22) hsl(61, 49%, 17%) Army Green
#163f40 rgb(22, 63, 64) hsl(181, 49%, 17%) Midnight Green