#271E45 - Midnight Velvet
Hex color #271E45 is called Midnight Velvet. It consists of 15% red, 12% green, and 27% blue in RGB color space. In CMYK it is 43% cyan, 57% magenta, 0% yellow, and 73% black. In HSL it is 254° hue, 39% saturation, and 19% 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 Velvet | — |
| HEX | #271E45 | #271E45 |
| HEXA | #271E45FF | #271E45FF |
| RGB | 39, 30, 69 | rgb(39, 30, 69) |
| RGBA | 39, 30, 69, 1 | rgba(39, 30, 69, 1) |
| HSL | 254%, 39%, 19% | hsl(254%, 39%, 19%) |
| CMYK | 43%, 57%, 0%, 73% | cmyk(43%, 57%, 0%, 73%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 19% (dark) | — |
Negative color
The color opposite to #271E45 is #D8E1BA.
Preview on black and white
As #271E45 has 19% lightness, this color is dark, so it has more contrast with white.
#271E45 On White Background
#271E45
#271E45
Text Color
This is how text looks with this color.
#271E45 On Black Background
#271E45
#271E45
Text Color
This is how text looks with this color.
Transform color
39, 30, 69rgb(39, 30, 69)