#540272 - Royal Purple
Hex color #540272 is called Royal Purple. It consists of 33% red, 1% green, and 45% blue in RGB color space. In CMYK it is 26% cyan, 98% magenta, 0% yellow, and 55% black. In HSL it is 284° hue, 97% saturation, and 23% 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 | Royal Purple | — |
| HEX | #540272 | #540272 |
| HEXA | #540272FF | #540272FF |
| RGB | 84, 2, 114 | rgb(84, 2, 114) |
| RGBA | 84, 2, 114, 1 | rgba(84, 2, 114, 1) |
| HSL | 284%, 97%, 23% | hsl(284%, 97%, 23%) |
| CMYK | 26%, 98%, 0%, 55% | cmyk(26%, 98%, 0%, 55%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 23% (dark) | — |
Negative color
The color opposite to #540272 is #ABFD8D.
Preview on black and white
As #540272 has 23% lightness, this color is dark, so it has more contrast with white.
#540272 On White Background
#540272
#540272
Text Color
This is how text looks with this color.
#540272 On Black Background
#540272
#540272
Text Color
This is how text looks with this color.
Transform color
84, 2, 114rgb(84, 2, 114)