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