#40254d ≈ Byzantium
#40254d is a color from the magenta family, with low lightness and muted saturation. In the RGB model it is made of 25.1% red, 14.51% green and 30.2% blue; printed in CMYK it uses 16.88% cyan, 51.95% magenta, 0% yellow and 69.8% black. Its hue angle is 280.5°, with 35.09% saturation and 22.35% lightness in HSL. It is a cool color, 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 13.21:1 (WCAG AAA). The closest named color is Byzantium (#702963), ΔE 10.85.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0295 |
Shades
#40254d mixed progressively with black.
Tints
#40254d mixed progressively with white.
Tones
#40254d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-40254d {
color: #40254d;
}
.bg-40254d {
background-color: #40254d;
color: #ffffff;
}
.border-40254d {
border: 2px solid #40254d;
}
:root {
--color-primary: #40254d;
--color-primary-rgb: 64 37 77;
--color-primary-hsl: 281 35% 22%;
}
.gradient-40254d {
background: linear-gradient(135deg, #40254d, #4d2546);
}
.shadow-40254d {
box-shadow: 0 8px 24px rgb(64 37 77 / 0.35);
}
Byzantium
#40254d rgb(64, 37, 77) hsl(281, 35%, 22%) Byzantium
#324d25 rgb(50, 77, 37) hsl(101, 35%, 22%) Hunter Green
#4d4025 rgb(77, 64, 37) hsl(41, 35%, 22%) Taupe
#254d40 rgb(37, 77, 64) hsl(161, 35%, 22%) Dark Slate Gray