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