#542FAC - Royalty
Hex color #542FAC is called Royalty. It consists of 33% red, 18% green, and 67% blue in RGB color space. In CMYK it is 51% cyan, 73% magenta, 0% yellow, and 33% black. In HSL it is 258° hue, 57% saturation, and 43% 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 | Royalty | — |
| HEX | #542FAC | #542FAC |
| HEXA | #542FACFF | #542FACFF |
| RGB | 84, 47, 172 | rgb(84, 47, 172) |
| RGBA | 84, 47, 172, 1 | rgba(84, 47, 172, 1) |
| HSL | 258%, 57%, 43% | hsl(258%, 57%, 43%) |
| CMYK | 51%, 73%, 0%, 33% | cmyk(51%, 73%, 0%, 33%) |
| CSS Name | — | — |
| Tailwind Name | — | — |
| Lightness | 43% (dark) | — |
Negative color
The color opposite to #542FAC is #ABD053.
Preview on black and white
As #542FAC has 43% lightness, this color is dark, so it has more contrast with white.
#542FAC On White Background
#542FAC
#542FAC
Text Color
This is how text looks with this color.
#542FAC On Black Background
#542FAC
#542FAC
Text Color
This is how text looks with this color.
Transform color
84, 47, 172rgb(84, 47, 172)