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