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