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