#512F8D - Night Fever
Hex color #512F8D is called Night Fever. It consists of 32% red, 18% green, and 55% blue in RGB color space. In CMYK it is 43% cyan, 67% magenta, 0% yellow, and 45% black. In HSL it is 262° hue, 50% 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 | Night Fever | — |
| HEX | #512F8D | #512F8D |
| HEXA | #512F8DFF | #512F8DFF |
| RGB | 81, 47, 141 | rgb(81, 47, 141) |
| RGBA | 81, 47, 141, 1 | rgba(81, 47, 141, 1) |
| HSL | 262%, 50%, 37% | hsl(262%, 50%, 37%) |
| CMYK | 43%, 67%, 0%, 45% | cmyk(43%, 67%, 0%, 45%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 37% (dark) | — |
Negative color
The color opposite to #512F8D is #AED072.
Preview on black and white
As #512F8D has 37% lightness, this color is dark, so it has more contrast with white.
#512F8D On White Background
#512F8D
#512F8D
Text Color
This is how text looks with this color.
#512F8D On Black Background
#512F8D
#512F8D
Text Color
This is how text looks with this color.
Transform color
81, 47, 141rgb(81, 47, 141)