#403A5A - Magic Night
Hex color #403A5A is called Magic Night. It consists of 25% red, 23% green, and 35% blue in RGB color space. In CMYK it is 29% cyan, 36% magenta, 0% yellow, and 65% black. In HSL it is 251° hue, 22% saturation, and 29% 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 | Magic Night | — |
| HEX | #403A5A | #403A5A |
| HEXA | #403A5AFF | #403A5AFF |
| RGB | 64, 58, 90 | rgb(64, 58, 90) |
| RGBA | 64, 58, 90, 1 | rgba(64, 58, 90, 1) |
| HSL | 251%, 22%, 29% | hsl(251%, 22%, 29%) |
| CMYK | 29%, 36%, 0%, 65% | cmyk(29%, 36%, 0%, 65%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 29% (dark) | — |
Negative color
The color opposite to #403A5A is #BFC5A5.
Preview on black and white
As #403A5A has 29% lightness, this color is dark, so it has more contrast with white.
#403A5A On White Background
#403A5A
#403A5A
Text Color
This is how text looks with this color.
#403A5A On Black Background
#403A5A
#403A5A
Text Color
This is how text looks with this color.
Transform color
64, 58, 90rgb(64, 58, 90)