#40158B - Grim Purple
Hex color #40158B is called Grim Purple. It consists of 25% red, 8% green, and 55% blue in RGB color space. In CMYK it is 54% cyan, 85% magenta, 0% yellow, and 45% black. In HSL it is 262° hue, 74% saturation, and 31% 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 | #40158B | #40158B |
| HEXA | #40158BFF | #40158BFF |
| RGB | 64, 21, 139 | rgb(64, 21, 139) |
| RGBA | 64, 21, 139, 1 | rgba(64, 21, 139, 1) |
| HSL | 262%, 74%, 31% | hsl(262%, 74%, 31%) |
| CMYK | 54%, 85%, 0%, 45% | cmyk(54%, 85%, 0%, 45%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 31% (dark) | — |
Negative color
The color opposite to #40158B is #BFEA74.
Preview on black and white
As #40158B has 31% lightness, this color is dark, so it has more contrast with white.
#40158B On White Background
#40158B
#40158B
Text Color
This is how text looks with this color.
#40158B On Black Background
#40158B
#40158B
Text Color
This is how text looks with this color.
Transform color
64, 21, 139rgb(64, 21, 139)