In RGB color space, #542c87 hex color has a red value of 84, a green value of 44 and a blue value of 135.
In CMYK color space (used in color printing), #542c87 hex color is composed of 37.78% cyan, 67.41% magenta, 0% yellow and 47.06% black.
#542c87 color has a hue of 266.4 degrees, a saturation of 50.84% and a lightness of 35.1%.
#542c87 hex color contains mainly BLUE.
The closest web safe color of #542c87 is #663399
#542c87 hex color has a decimal value of 5516423.
HEX | 542c87 | #542c87 |
---|---|---|
RGB | 84, 44, 135 | rgb(84, 44, 135) |
RGB Percent | 32.94, 17.25, 52.94 | rgb(32.94, 17.25, 52.94) |
CMYK | 38, 67, 0, 47 | |
HSL | 266.4°, 50.84, 35.1 | hsl(266.4, 50.84%, 35.1%) |
HSV | 266.4°, 67.4, 52.9 |
XYZ | 8.93, 5.435, 23.5 |
---|---|
Hunter Lab | 23.313, 27.576, -43.446 |
CIE-LAB | 27.94, 37.909, -44.21 |
CIE-LCH | 27.94, 58.238, 310.612 |
CIE-LUV | 37.78, 67.41, 0, 47.06 |
Web Safe | 663399 |
RGB percent of color #542c87
CMYK percent of color #542c87
Text with hexadecimal color #542c87
This text has a font color of #542c87
<p style="color:#542c87">Text here</p>
#542c87 Background Color
This box has a background color of #542c87
<div style="background-color:#542c87">Text here</div>
#542c87 Border Color
This box has a border color of #542c87
<div style="border: 4px solid #542c87">Text here</div>
CSS codes
<p style="color:#542c87">Text here</p>
<div style="background-color:#542c87">Text here</div>
<div style="border: 4px solid #542c87">Text here</div>
#542c87 Color on white background
This is how a font and box color of #542c87 will look
on a white background.
#542c87 Color on black background
This is how a font and box color of #542c87 hex color will look
on a black background.