In RGB color space, #542ca5 hex color has a red value of 84, a green value of 44 and a blue value of 165.
In CMYK color space (used in color printing), #542ca5 hex color is composed of 49.09% cyan, 73.33% magenta, 0% yellow and 35.29% black.
#542ca5 color has a hue of 259.8 degrees, a saturation of 57.89% and a lightness of 41%.
#542ca5 hex color contains mainly BLUE.
The closest web safe color of #542ca5 is #663399
#542ca5 hex color has a decimal value of 5516453.
HEX | 542ca5 | #542ca5 |
---|---|---|
RGB | 84, 44, 165 | rgb(84, 44, 165) |
RGB Percent | 32.94, 17.25, 64.71 | rgb(32.94, 17.25, 64.71) |
CMYK | 49, 73, 0, 35 | |
HSL | 259.8°, 57.89, 41 | hsl(259.8, 57.89%, 41%) |
HSV | 259.8°, 73.3, 64.7 |
XYZ | 11.348, 6.403, 36.235 |
---|---|
Hunter Lab | 25.304, 35.769, -67.189 |
CIE-LAB | 30.407, 46.174, -58.584 |
CIE-LCH | 30.407, 74.593, 308.244 |
CIE-LUV | 49.09, 73.33, 0, 35.29 |
Web Safe | 663399 |
RGB percent of color #542ca5
CMYK percent of color #542ca5
Text with hexadecimal color #542ca5
This text has a font color of #542ca5
<p style="color:#542ca5">Text here</p>
#542ca5 Background Color
This box has a background color of #542ca5
<div style="background-color:#542ca5">Text here</div>
#542ca5 Border Color
This box has a border color of #542ca5
<div style="border: 4px solid #542ca5">Text here</div>
CSS codes
<p style="color:#542ca5">Text here</p>
<div style="background-color:#542ca5">Text here</div>
<div style="border: 4px solid #542ca5">Text here</div>
#542ca5 Color on white background
This is how a font and box color of #542ca5 will look
on a white background.
#542ca5 Color on black background
This is how a font and box color of #542ca5 hex color will look
on a black background.