#402D88 - Majestic Eggplant
Hex color #402D88 is called Majestic Eggplant. It consists of 25% red, 18% green, and 53% blue in RGB color space. In CMYK it is 53% cyan, 67% magenta, 0% yellow, and 47% black. In HSL it is 253° hue, 50% saturation, and 35% lightness (dark) . On this page you can get both color properties and CSS values for such color schemas: HEX, HEXA, RGB, RGBA, HSL, and CMYK; color name, CSS color name, tailwind name for color; shades and tints; monochromatic colors; negative color; and other info.
| Property | Value | CSS |
|---|---|---|
| Name | Majestic Eggplant | — |
| HEX | #402D88 | #402D88 |
| HEXA | #402D88FF | #402D88FF |
| RGB | 64, 45, 136 | rgb(64, 45, 136) |
| RGBA | 64, 45, 136, 1 | rgba(64, 45, 136, 1) |
| HSL | 253%, 50%, 35% | hsl(253%, 50%, 35%) |
| CMYK | 53%, 67%, 0%, 47% | cmyk(53%, 67%, 0%, 47%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 35% (dark) | — |
Negative color
The color opposite to #402D88 is #BFD277.
Preview on black and white
As #402D88 has 35% lightness, this color is dark, so it has more contrast with white.
#402D88 On White Background
#402D88
#402D88
Text Color
This is how text looks with this color.
#402D88 On Black Background
#402D88
#402D88
Text Color
This is how text looks with this color.
Transform color
64, 45, 136rgb(64, 45, 136)