#402EA4 - Purple Cabbage
Hex color #402EA4 is called Purple Cabbage. It consists of 25% red, 18% green, and 64% blue in RGB color space. In CMYK it is 61% cyan, 72% magenta, 0% yellow, and 36% black. In HSL it is 249° hue, 56% saturation, and 41% 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 | Purple Cabbage | — |
| HEX | #402EA4 | #402EA4 |
| HEXA | #402EA4FF | #402EA4FF |
| RGB | 64, 46, 164 | rgb(64, 46, 164) |
| RGBA | 64, 46, 164, 1 | rgba(64, 46, 164, 1) |
| HSL | 249%, 56%, 41% | hsl(249%, 56%, 41%) |
| CMYK | 61%, 72%, 0%, 36% | cmyk(61%, 72%, 0%, 36%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 41% (dark) | — |
Negative color
The color opposite to #402EA4 is #BFD15B.
Preview on black and white
As #402EA4 has 41% lightness, this color is dark, so it has more contrast with white.
#402EA4 On White Background
#402EA4
#402EA4
Text Color
This is how text looks with this color.
#402EA4 On Black Background
#402EA4
#402EA4
Text Color
This is how text looks with this color.
Transform color
64, 46, 164rgb(64, 46, 164)