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