#2A1960 - Night Fog
Hex color #2A1960 is called Night Fog. It consists of 16% red, 10% green, and 38% blue in RGB color space. In CMYK it is 56% cyan, 74% magenta, 0% yellow, and 62% black. In HSL it is 254° hue, 59% saturation, and 24% 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 | Night Fog | — |
| HEX | #2A1960 | #2A1960 |
| HEXA | #2A1960FF | #2A1960FF |
| RGB | 42, 25, 96 | rgb(42, 25, 96) |
| RGBA | 42, 25, 96, 1 | rgba(42, 25, 96, 1) |
| HSL | 254%, 59%, 24% | hsl(254%, 59%, 24%) |
| CMYK | 56%, 74%, 0%, 62% | cmyk(56%, 74%, 0%, 62%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 24% (dark) | — |
Negative color
The color opposite to #2A1960 is #D5E69F.
Preview on black and white
As #2A1960 has 24% lightness, this color is dark, so it has more contrast with white.
#2A1960 On White Background
#2A1960
#2A1960
Text Color
This is how text looks with this color.
#2A1960 On Black Background
#2A1960
#2A1960
Text Color
This is how text looks with this color.
Transform color
42, 25, 96rgb(42, 25, 96)