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