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