#240336 - Midnight Purple
Hex color #240336 is called Midnight Purple. It consists of 14% red, 1% green, and 21% blue in RGB color space. In CMYK it is 33% cyan, 94% magenta, 0% yellow, and 79% black. In HSL it is 279° hue, 89% saturation, and 11% 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 | #240336 | #240336 |
| HEXA | #240336FF | #240336FF |
| RGB | 36, 3, 54 | rgb(36, 3, 54) |
| RGBA | 36, 3, 54, 1 | rgba(36, 3, 54, 1) |
| HSL | 279%, 89%, 11% | hsl(279%, 89%, 11%) |
| CMYK | 33%, 94%, 0%, 79% | cmyk(33%, 94%, 0%, 79%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 11% (dark) | — |
Negative color
The color opposite to #240336 is #DBFCC9.
Preview on black and white
As #240336 has 11% lightness, this color is dark, so it has more contrast with white.
#240336 On White Background
#240336
#240336
Text Color
This is how text looks with this color.
#240336 On Black Background
#240336
#240336
Text Color
This is how text looks with this color.
Transform color
36, 3, 54rgb(36, 3, 54)