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