In RGB color space, #542a82 hex color has a red value of 84, a green value of 42 and a blue value of 130.
In CMYK color space (used in color printing), #542a82 hex color is composed of 35.38% cyan, 67.69% magenta, 0% yellow and 49.02% black.
#542a82 color has a hue of 268.6 degrees, a saturation of 51.16% and a lightness of 33.7%.
#542a82 hex color contains mainly BLUE.
The closest web safe color of #542a82 is #663399
#542a82 hex color has a decimal value of 5515906.
HEX | 542a82 | #542a82 |
---|---|---|
RGB | 84, 42, 130 | rgb(84, 42, 130) |
RGB Percent | 32.94, 16.47, 50.98 | rgb(32.94, 16.47, 50.98) |
CMYK | 35, 68, 0, 49 | |
HSL | 268.6°, 51.16, 33.7 | hsl(268.6, 51.16%, 33.7%) |
HSV | 268.6°, 67.7, 51 |
XYZ | 8.513, 5.152, 21.665 |
---|---|
Hunter Lab | 22.698, 27.226, -40.703 |
CIE-LAB | 27.163, 37.66, -42.341 |
CIE-LCH | 27.163, 56.666, 311.651 |
CIE-LUV | 35.38, 67.69, 0, 49.02 |
Web Safe | 663399 |
RGB percent of color #542a82
CMYK percent of color #542a82
Text with hexadecimal color #542a82
This text has a font color of #542a82
<p style="color:#542a82">Text here</p>
#542a82 Background Color
This box has a background color of #542a82
<div style="background-color:#542a82">Text here</div>
#542a82 Border Color
This box has a border color of #542a82
<div style="border: 4px solid #542a82">Text here</div>
CSS codes
<p style="color:#542a82">Text here</p>
<div style="background-color:#542a82">Text here</div>
<div style="border: 4px solid #542a82">Text here</div>
#542a82 Color on white background
This is how a font and box color of #542a82 will look
on a white background.
#542a82 Color on black background
This is how a font and box color of #542a82 hex color will look
on a black background.