#40138d ≈ Persian Indigo
#40138d is a color from the violet family, with low lightness and moderate saturation. In the RGB model it is made of 25.1% red, 7.45% green and 55.29% blue; printed in CMYK it uses 54.61% cyan, 86.52% magenta, 0% yellow and 44.71% black. Its hue angle is 262.13°, with 76.25% saturation and 31.37% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and corporate identities. White text on this color reaches a contrast ratio of 12.38:1 (WCAG AAA). The closest named color is Persian Indigo (#32127a), ΔE 3.38.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0348 |
Shades
#40138d mixed progressively with black.
Tints
#40138d mixed progressively with white.
Tones
#40138d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-40138d {
color: #40138d;
}
.bg-40138d {
background-color: #40138d;
color: #ffffff;
}
.border-40138d {
border: 2px solid #40138d;
}
:root {
--color-primary: #40138d;
--color-primary-rgb: 64 19 141;
--color-primary-hsl: 262 76% 31%;
}
.gradient-40138d {
background: linear-gradient(135deg, #40138d, #7d138d);
}
.shadow-40138d {
box-shadow: 0 8px 24px rgb(64 19 141 / 0.35);
}
Persian Indigo
#40138d rgb(64, 19, 141) hsl(262, 76%, 31%) Persian Indigo
#608d13 rgb(96, 141, 19) hsl(82, 76%, 31%) Olive Drab
#8d4013 rgb(141, 64, 19) hsl(22, 76%, 31%) Saddle Brown
#138d40 rgb(19, 141, 64) hsl(142, 76%, 31%) Forest Green