#51257A - Spanish Violet
Hex color #51257A is called Spanish Violet. It consists of 32% red, 15% green, and 48% blue in RGB color space. In CMYK it is 34% cyan, 70% magenta, 0% yellow, and 52% black. In HSL it is 271° hue, 53% 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 | Spanish Violet | — |
| HEX | #51257A | #51257A |
| HEXA | #51257AFF | #51257AFF |
| RGB | 81, 37, 122 | rgb(81, 37, 122) |
| RGBA | 81, 37, 122, 1 | rgba(81, 37, 122, 1) |
| HSL | 271%, 53%, 31% | hsl(271%, 53%, 31%) |
| CMYK | 34%, 70%, 0%, 52% | cmyk(34%, 70%, 0%, 52%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 31% (dark) | — |
Negative color
The color opposite to #51257A is #AEDA85.
Preview on black and white
As #51257A has 31% lightness, this color is dark, so it has more contrast with white.
#51257A On White Background
#51257A
#51257A
Text Color
This is how text looks with this color.
#51257A On Black Background
#51257A
#51257A
Text Color
This is how text looks with this color.
Transform color
81, 37, 122rgb(81, 37, 122)