#402A9D - Galactic Purple
Hex color #402A9D is called Galactic Purple. It consists of 25% red, 16% green, and 62% blue in RGB color space. In CMYK it is 59% cyan, 73% magenta, 0% yellow, and 38% black. In HSL it is 251° hue, 58% saturation, and 39% 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 | Galactic Purple | — |
| HEX | #402A9D | #402A9D |
| HEXA | #402A9DFF | #402A9DFF |
| RGB | 64, 42, 157 | rgb(64, 42, 157) |
| RGBA | 64, 42, 157, 1 | rgba(64, 42, 157, 1) |
| HSL | 251%, 58%, 39% | hsl(251%, 58%, 39%) |
| CMYK | 59%, 73%, 0%, 38% | cmyk(59%, 73%, 0%, 38%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 39% (dark) | — |
Negative color
The color opposite to #402A9D is #BFD562.
Preview on black and white
As #402A9D has 39% lightness, this color is dark, so it has more contrast with white.
#402A9D On White Background
#402A9D
#402A9D
Text Color
This is how text looks with this color.
#402A9D On Black Background
#402A9D
#402A9D
Text Color
This is how text looks with this color.
Transform color
64, 42, 157rgb(64, 42, 157)