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