#402D83 - Majestic Eggplant
Hex color #402D83 is called Majestic Eggplant. It consists of 25% red, 18% green, and 51% blue in RGB color space. In CMYK it is 51% cyan, 66% magenta, 0% yellow, and 49% black. In HSL it is 253° hue, 49% 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 | #402D83 | #402D83 |
| HEXA | #402D83FF | #402D83FF |
| RGB | 64, 45, 131 | rgb(64, 45, 131) |
| RGBA | 64, 45, 131, 1 | rgba(64, 45, 131, 1) |
| HSL | 253%, 49%, 35% | hsl(253%, 49%, 35%) |
| CMYK | 51%, 66%, 0%, 49% | cmyk(51%, 66%, 0%, 49%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 35% (dark) | — |
Negative color
The color opposite to #402D83 is #BFD27C.
Preview on black and white
As #402D83 has 35% lightness, this color is dark, so it has more contrast with white.
#402D83 On White Background
#402D83
#402D83
Text Color
This is how text looks with this color.
#402D83 On Black Background
#402D83
#402D83
Text Color
This is how text looks with this color.
Transform color
64, 45, 131rgb(64, 45, 131)