#2B073E - Midnight Purple
Hex color #2B073E is called Midnight Purple. It consists of 17% red, 3% green, and 24% blue in RGB color space. In CMYK it is 31% cyan, 89% magenta, 0% yellow, and 76% black. In HSL it is 279° 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 | #2B073E | #2B073E |
| HEXA | #2B073EFF | #2B073EFF |
| RGB | 43, 7, 62 | rgb(43, 7, 62) |
| RGBA | 43, 7, 62, 1 | rgba(43, 7, 62, 1) |
| HSL | 279%, 80%, 14% | hsl(279%, 80%, 14%) |
| CMYK | 31%, 89%, 0%, 76% | cmyk(31%, 89%, 0%, 76%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 14% (dark) | — |
Negative color
The color opposite to #2B073E is #D4F8C1.
Preview on black and white
As #2B073E has 14% lightness, this color is dark, so it has more contrast with white.
#2B073E On White Background
#2B073E
#2B073E
Text Color
This is how text looks with this color.
#2B073E On Black Background
#2B073E
#2B073E
Text Color
This is how text looks with this color.
Transform color
43, 7, 62rgb(43, 7, 62)