#2A1F45 - Midnight Velvet
Hex color #2A1F45 is called Midnight Velvet. It consists of 16% red, 12% green, and 27% blue in RGB color space. In CMYK it is 39% cyan, 55% magenta, 0% yellow, and 73% black. In HSL it is 257° hue, 38% saturation, and 20% 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 | #2A1F45 | #2A1F45 |
| HEXA | #2A1F45FF | #2A1F45FF |
| RGB | 42, 31, 69 | rgb(42, 31, 69) |
| RGBA | 42, 31, 69, 1 | rgba(42, 31, 69, 1) |
| HSL | 257%, 38%, 20% | hsl(257%, 38%, 20%) |
| CMYK | 39%, 55%, 0%, 73% | cmyk(39%, 55%, 0%, 73%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 20% (dark) | — |
Negative color
The color opposite to #2A1F45 is #D5E0BA.
Preview on black and white
As #2A1F45 has 20% lightness, this color is dark, so it has more contrast with white.
#2A1F45 On White Background
#2A1F45
#2A1F45
Text Color
This is how text looks with this color.
#2A1F45 On Black Background
#2A1F45
#2A1F45
Text Color
This is how text looks with this color.
Transform color
42, 31, 69rgb(42, 31, 69)