#340B40 - Dark Purple
Hex color #340B40 is called Dark Purple. It consists of 20% red, 4% green, and 25% blue in RGB color space. In CMYK it is 19% cyan, 83% magenta, 0% yellow, and 75% black. In HSL it is 286° hue, 71% saturation, and 15% 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 Purple | — |
| HEX | #340B40 | #340B40 |
| HEXA | #340B40FF | #340B40FF |
| RGB | 52, 11, 64 | rgb(52, 11, 64) |
| RGBA | 52, 11, 64, 1 | rgba(52, 11, 64, 1) |
| HSL | 286%, 71%, 15% | hsl(286%, 71%, 15%) |
| CMYK | 19%, 83%, 0%, 75% | cmyk(19%, 83%, 0%, 75%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 15% (dark) | — |
Negative color
The color opposite to #340B40 is #CBF4BF.
Preview on black and white
As #340B40 has 15% lightness, this color is dark, so it has more contrast with white.
#340B40 On White Background
#340B40
#340B40
Text Color
This is how text looks with this color.
#340B40 On Black Background
#340B40
#340B40
Text Color
This is how text looks with this color.
Transform color
52, 11, 64rgb(52, 11, 64)