#512781 - Spanish Violet
Hex color #512781 is called Spanish Violet. It consists of 32% red, 15% green, and 51% blue in RGB color space. In CMYK it is 37% cyan, 70% magenta, 0% yellow, and 49% black. In HSL it is 268° hue, 54% saturation, and 33% 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 | Spanish Violet | — |
| HEX | #512781 | #512781 |
| HEXA | #512781FF | #512781FF |
| RGB | 81, 39, 129 | rgb(81, 39, 129) |
| RGBA | 81, 39, 129, 1 | rgba(81, 39, 129, 1) |
| HSL | 268%, 54%, 33% | hsl(268%, 54%, 33%) |
| CMYK | 37%, 70%, 0%, 49% | cmyk(37%, 70%, 0%, 49%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 33% (dark) | — |
Negative color
The color opposite to #512781 is #AED87E.
Preview on black and white
As #512781 has 33% lightness, this color is dark, so it has more contrast with white.
#512781 On White Background
#512781
#512781
Text Color
This is how text looks with this color.
#512781 On Black Background
#512781
#512781
Text Color
This is how text looks with this color.
Transform color
81, 39, 129rgb(81, 39, 129)