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