#4A227B - Spanish Violet
Hex color #4A227B is called Spanish Violet. It consists of 29% red, 13% green, and 48% blue in RGB color space. In CMYK it is 40% cyan, 72% magenta, 0% yellow, and 52% black. In HSL it is 267° hue, 57% 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 | #4A227B | #4A227B |
| HEXA | #4A227BFF | #4A227BFF |
| RGB | 74, 34, 123 | rgb(74, 34, 123) |
| RGBA | 74, 34, 123, 1 | rgba(74, 34, 123, 1) |
| HSL | 267%, 57%, 31% | hsl(267%, 57%, 31%) |
| CMYK | 40%, 72%, 0%, 52% | cmyk(40%, 72%, 0%, 52%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 31% (dark) | — |
Negative color
The color opposite to #4A227B is #B5DD84.
Preview on black and white
As #4A227B has 31% lightness, this color is dark, so it has more contrast with white.
#4A227B On White Background
#4A227B
#4A227B
Text Color
This is how text looks with this color.
#4A227B On Black Background
#4A227B
#4A227B
Text Color
This is how text looks with this color.
Transform color
74, 34, 123rgb(74, 34, 123)