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