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