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