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