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