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