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