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