#2E0039 - Midnight Purple
Hex color #2E0039 is called Midnight Purple. It consists of 18% red, 0% green, and 22% blue in RGB color space. In CMYK it is 19% cyan, 100% magenta, 0% yellow, and 78% black. In HSL it is 288° hue, 100% saturation, and 11% 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 | Midnight Purple | — |
| HEX | #2E0039 | #2E0039 |
| HEXA | #2E0039FF | #2E0039FF |
| RGB | 46, 0, 57 | rgb(46, 0, 57) |
| RGBA | 46, 0, 57, 1 | rgba(46, 0, 57, 1) |
| HSL | 288%, 100%, 11% | hsl(288%, 100%, 11%) |
| CMYK | 19%, 100%, 0%, 78% | cmyk(19%, 100%, 0%, 78%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 11% (dark) | — |
Negative color
The color opposite to #2E0039 is #D1FFC6.
Preview on black and white
As #2E0039 has 11% lightness, this color is dark, so it has more contrast with white.
#2E0039 On White Background
#2E0039
#2E0039
Text Color
This is how text looks with this color.
#2E0039 On Black Background
#2E0039
#2E0039
Text Color
This is how text looks with this color.
Transform color
46, 0, 57rgb(46, 0, 57)