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