#312843 - Viola Black
Hex color #312843 is called Viola Black. It consists of 19% red, 16% green, and 26% blue in RGB color space. In CMYK it is 27% cyan, 40% magenta, 0% yellow, and 74% black. In HSL it is 260° hue, 25% saturation, and 21% 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 | Viola Black | — |
| HEX | #312843 | #312843 |
| HEXA | #312843FF | #312843FF |
| RGB | 49, 40, 67 | rgb(49, 40, 67) |
| RGBA | 49, 40, 67, 1 | rgba(49, 40, 67, 1) |
| HSL | 260%, 25%, 21% | hsl(260%, 25%, 21%) |
| CMYK | 27%, 40%, 0%, 74% | cmyk(27%, 40%, 0%, 74%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 21% (dark) | — |
Negative color
The color opposite to #312843 is #CED7BC.
Preview on black and white
As #312843 has 21% lightness, this color is dark, so it has more contrast with white.
#312843 On White Background
#312843
#312843
Text Color
This is how text looks with this color.
#312843 On Black Background
#312843
#312843
Text Color
This is how text looks with this color.
Transform color
49, 40, 67rgb(49, 40, 67)