#311966 - Night Fog
Hex color #311966 is called Night Fog. It consists of 19% red, 10% green, and 40% blue in RGB color space. In CMYK it is 52% cyan, 75% magenta, 0% yellow, and 60% black. In HSL it is 259° hue, 61% saturation, and 25% 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 | #311966 | #311966 |
| HEXA | #311966FF | #311966FF |
| RGB | 49, 25, 102 | rgb(49, 25, 102) |
| RGBA | 49, 25, 102, 1 | rgba(49, 25, 102, 1) |
| HSL | 259%, 61%, 25% | hsl(259%, 61%, 25%) |
| CMYK | 52%, 75%, 0%, 60% | cmyk(52%, 75%, 0%, 60%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 25% (dark) | — |
Negative color
The color opposite to #311966 is #CEE699.
Preview on black and white
As #311966 has 25% lightness, this color is dark, so it has more contrast with white.
#311966 On White Background
#311966
#311966
Text Color
This is how text looks with this color.
#311966 On Black Background
#311966
#311966
Text Color
This is how text looks with this color.
Transform color
49, 25, 102rgb(49, 25, 102)