#331F57 - Stormy Night
Hex color #331F57 is called Stormy Night. It consists of 20% red, 12% green, and 34% blue in RGB color space. In CMYK it is 41% cyan, 64% magenta, 0% yellow, and 66% black. In HSL it is 261° hue, 47% 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 | Stormy Night | — |
| HEX | #331F57 | #331F57 |
| HEXA | #331F57FF | #331F57FF |
| RGB | 51, 31, 87 | rgb(51, 31, 87) |
| RGBA | 51, 31, 87, 1 | rgba(51, 31, 87, 1) |
| HSL | 261%, 47%, 23% | hsl(261%, 47%, 23%) |
| CMYK | 41%, 64%, 0%, 66% | cmyk(41%, 64%, 0%, 66%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 23% (dark) | — |
Negative color
The color opposite to #331F57 is #CCE0A8.
Preview on black and white
As #331F57 has 23% lightness, this color is dark, so it has more contrast with white.
#331F57 On White Background
#331F57
#331F57
Text Color
This is how text looks with this color.
#331F57 On Black Background
#331F57
#331F57
Text Color
This is how text looks with this color.
Transform color
51, 31, 87rgb(51, 31, 87)