#2A0739 - Midnight Purple
Hex color #2A0739 is called Midnight Purple. It consists of 16% red, 3% green, and 22% blue in RGB color space. In CMYK it is 26% cyan, 88% magenta, 0% yellow, and 78% black. In HSL it is 282° hue, 78% 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 | #2A0739 | #2A0739 |
| HEXA | #2A0739FF | #2A0739FF |
| RGB | 42, 7, 57 | rgb(42, 7, 57) |
| RGBA | 42, 7, 57, 1 | rgba(42, 7, 57, 1) |
| HSL | 282%, 78%, 13% | hsl(282%, 78%, 13%) |
| CMYK | 26%, 88%, 0%, 78% | cmyk(26%, 88%, 0%, 78%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 13% (dark) | — |
Negative color
The color opposite to #2A0739 is #D5F8C6.
Preview on black and white
As #2A0739 has 13% lightness, this color is dark, so it has more contrast with white.
#2A0739 On White Background
#2A0739
#2A0739
Text Color
This is how text looks with this color.
#2A0739 On Black Background
#2A0739
#2A0739
Text Color
This is how text looks with this color.
Transform color
42, 7, 57rgb(42, 7, 57)