#31175F - Night Fog
Hex color #31175F is called Night Fog. It consists of 19% red, 9% green, and 37% blue in RGB color space. In CMYK it is 48% cyan, 76% magenta, 0% yellow, and 63% black. In HSL it is 262° hue, 61% saturation, and 23% 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 | #31175F | #31175F |
| HEXA | #31175FFF | #31175FFF |
| RGB | 49, 23, 95 | rgb(49, 23, 95) |
| RGBA | 49, 23, 95, 1 | rgba(49, 23, 95, 1) |
| HSL | 262%, 61%, 23% | hsl(262%, 61%, 23%) |
| CMYK | 48%, 76%, 0%, 63% | cmyk(48%, 76%, 0%, 63%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 23% (dark) | — |
Negative color
The color opposite to #31175F is #CEE8A0.
Preview on black and white
As #31175F has 23% lightness, this color is dark, so it has more contrast with white.
#31175F On White Background
#31175F
#31175F
Text Color
This is how text looks with this color.
#31175F On Black Background
#31175F
#31175F
Text Color
This is how text looks with this color.
Transform color
49, 23, 95rgb(49, 23, 95)