#51237E - Spanish Violet
Hex color #51237E is called Spanish Violet. It consists of 32% red, 14% green, and 49% blue in RGB color space. In CMYK it is 36% cyan, 72% magenta, 0% yellow, and 51% black. In HSL it is 270° hue, 57% saturation, and 32% 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 | #51237E | #51237E |
| HEXA | #51237EFF | #51237EFF |
| RGB | 81, 35, 126 | rgb(81, 35, 126) |
| RGBA | 81, 35, 126, 1 | rgba(81, 35, 126, 1) |
| HSL | 270%, 57%, 32% | hsl(270%, 57%, 32%) |
| CMYK | 36%, 72%, 0%, 51% | cmyk(36%, 72%, 0%, 51%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 32% (dark) | — |
Negative color
The color opposite to #51237E is #AEDC81.
Preview on black and white
As #51237E has 32% lightness, this color is dark, so it has more contrast with white.
#51237E On White Background
#51237E
#51237E
Text Color
This is how text looks with this color.
#51237E On Black Background
#51237E
#51237E
Text Color
This is how text looks with this color.
Transform color
81, 35, 126rgb(81, 35, 126)