#31318E - Perfect Dark
Hex color #31318E is called Perfect Dark. It consists of 19% red, 19% green, and 56% blue in RGB color space. In CMYK it is 65% cyan, 65% magenta, 0% yellow, and 44% black. In HSL it is 240° hue, 49% saturation, and 37% 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 | Perfect Dark | — |
| HEX | #31318E | #31318E |
| HEXA | #31318EFF | #31318EFF |
| RGB | 49, 49, 142 | rgb(49, 49, 142) |
| RGBA | 49, 49, 142, 1 | rgba(49, 49, 142, 1) |
| HSL | 240%, 49%, 37% | hsl(240%, 49%, 37%) |
| CMYK | 65%, 65%, 0%, 44% | cmyk(65%, 65%, 0%, 44%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 37% (dark) | — |
Negative color
The color opposite to #31318E is #CECE71.
Preview on black and white
As #31318E has 37% lightness, this color is dark, so it has more contrast with white.
#31318E On White Background
#31318E
#31318E
Text Color
This is how text looks with this color.
#31318E On Black Background
#31318E
#31318E
Text Color
This is how text looks with this color.
Transform color
49, 49, 142rgb(49, 49, 142)