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