#312E40 - Viola Black
Hex color #312E40 is called Viola Black. It consists of 19% red, 18% green, and 25% blue in RGB color space. In CMYK it is 23% cyan, 28% magenta, 0% yellow, and 75% black. In HSL it is 250° hue, 16% saturation, and 22% 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 | #312E40 | #312E40 |
| HEXA | #312E40FF | #312E40FF |
| RGB | 49, 46, 64 | rgb(49, 46, 64) |
| RGBA | 49, 46, 64, 1 | rgba(49, 46, 64, 1) |
| HSL | 250%, 16%, 22% | hsl(250%, 16%, 22%) |
| CMYK | 23%, 28%, 0%, 75% | cmyk(23%, 28%, 0%, 75%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 22% (dark) | — |
Negative color
The color opposite to #312E40 is #CED1BF.
Preview on black and white
As #312E40 has 22% lightness, this color is dark, so it has more contrast with white.
#312E40 On White Background
#312E40
#312E40
Text Color
This is how text looks with this color.
#312E40 On Black Background
#312E40
#312E40
Text Color
This is how text looks with this color.
Transform color
49, 46, 64rgb(49, 46, 64)