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