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