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