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