#51257B - Spanish Violet
Hex color #51257B 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, 54% 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 | #51257B | #51257B |
| HEXA | #51257BFF | #51257BFF |
| RGB | 81, 37, 123 | rgb(81, 37, 123) |
| RGBA | 81, 37, 123, 1 | rgba(81, 37, 123, 1) |
| HSL | 271%, 54%, 31% | hsl(271%, 54%, 31%) |
| CMYK | 34%, 70%, 0%, 52% | cmyk(34%, 70%, 0%, 52%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 31% (dark) | — |
Negative color
The color opposite to #51257B is #AEDA84.
Preview on black and white
As #51257B has 31% lightness, this color is dark, so it has more contrast with white.
#51257B On White Background
#51257B
#51257B
Text Color
This is how text looks with this color.
#51257B On Black Background
#51257B
#51257B
Text Color
This is how text looks with this color.
Transform color
81, 37, 123rgb(81, 37, 123)