#40178A - Grim Purple
Hex color #40178A is called Grim Purple. It consists of 25% red, 9% green, and 54% blue in RGB color space. In CMYK it is 54% cyan, 83% magenta, 0% yellow, and 46% black. In HSL it is 261° hue, 71% saturation, and 32% 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 | Grim Purple | — |
| HEX | #40178A | #40178A |
| HEXA | #40178AFF | #40178AFF |
| RGB | 64, 23, 138 | rgb(64, 23, 138) |
| RGBA | 64, 23, 138, 1 | rgba(64, 23, 138, 1) |
| HSL | 261%, 71%, 32% | hsl(261%, 71%, 32%) |
| CMYK | 54%, 83%, 0%, 46% | cmyk(54%, 83%, 0%, 46%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 32% (dark) | — |
Negative color
The color opposite to #40178A is #BFE875.
Preview on black and white
As #40178A has 32% lightness, this color is dark, so it has more contrast with white.
#40178A On White Background
#40178A
#40178A
Text Color
This is how text looks with this color.
#40178A On Black Background
#40178A
#40178A
Text Color
This is how text looks with this color.
Transform color
64, 23, 138rgb(64, 23, 138)