#2B0639 - Midnight Purple
Hex color #2B0639 is called Midnight Purple. It consists of 17% red, 2% green, and 22% blue in RGB color space. In CMYK it is 25% cyan, 89% magenta, 0% yellow, and 78% black. In HSL it is 284° hue, 81% 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 | #2B0639 | #2B0639 |
| HEXA | #2B0639FF | #2B0639FF |
| RGB | 43, 6, 57 | rgb(43, 6, 57) |
| RGBA | 43, 6, 57, 1 | rgba(43, 6, 57, 1) |
| HSL | 284%, 81%, 12% | hsl(284%, 81%, 12%) |
| CMYK | 25%, 89%, 0%, 78% | cmyk(25%, 89%, 0%, 78%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 12% (dark) | — |
Negative color
The color opposite to #2B0639 is #D4F9C6.
Preview on black and white
As #2B0639 has 12% lightness, this color is dark, so it has more contrast with white.
#2B0639 On White Background
#2B0639
#2B0639
Text Color
This is how text looks with this color.
#2B0639 On Black Background
#2B0639
#2B0639
Text Color
This is how text looks with this color.
Transform color
43, 6, 57rgb(43, 6, 57)