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