#340342 - Dark Violet
Hex color #340342 is called Dark Violet. It consists of 20% red, 1% green, and 26% blue in RGB color space. In CMYK it is 21% cyan, 95% magenta, 0% yellow, and 74% black. In HSL it is 287° hue, 91% saturation, and 14% 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 | Dark Violet | — |
| HEX | #340342 | #340342 |
| HEXA | #340342FF | #340342FF |
| RGB | 52, 3, 66 | rgb(52, 3, 66) |
| RGBA | 52, 3, 66, 1 | rgba(52, 3, 66, 1) |
| HSL | 287%, 91%, 14% | hsl(287%, 91%, 14%) |
| CMYK | 21%, 95%, 0%, 74% | cmyk(21%, 95%, 0%, 74%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 14% (dark) | — |
Negative color
The color opposite to #340342 is #CBFCBD.
Preview on black and white
As #340342 has 14% lightness, this color is dark, so it has more contrast with white.
#340342 On White Background
#340342
#340342
Text Color
This is how text looks with this color.
#340342 On Black Background
#340342
#340342
Text Color
This is how text looks with this color.
Transform color
52, 3, 66rgb(52, 3, 66)