#2C043A - Midnight Purple
Hex color #2C043A is called Midnight Purple. It consists of 17% red, 2% green, and 23% blue in RGB color space. In CMYK it is 24% cyan, 93% magenta, 0% yellow, and 77% black. In HSL it is 284° hue, 87% saturation, and 12% 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 | #2C043A | #2C043A |
| HEXA | #2C043AFF | #2C043AFF |
| RGB | 44, 4, 58 | rgb(44, 4, 58) |
| RGBA | 44, 4, 58, 1 | rgba(44, 4, 58, 1) |
| HSL | 284%, 87%, 12% | hsl(284%, 87%, 12%) |
| CMYK | 24%, 93%, 0%, 77% | cmyk(24%, 93%, 0%, 77%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 12% (dark) | — |
Negative color
The color opposite to #2C043A is #D3FBC5.
Preview on black and white
As #2C043A has 12% lightness, this color is dark, so it has more contrast with white.
#2C043A On White Background
#2C043A
#2C043A
Text Color
This is how text looks with this color.
#2C043A On Black Background
#2C043A
#2C043A
Text Color
This is how text looks with this color.
Transform color
44, 4, 58rgb(44, 4, 58)