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