In RGB color space, #542b87 hex color has a red value of 84, a green value of 43 and a blue value of 135.
In CMYK color space (used in color printing), #542b87 hex color is composed of 37.78% cyan, 68.15% magenta, 0% yellow and 47.06% black.
#542b87 color has a hue of 266.7 degrees, a saturation of 51.69% and a lightness of 34.9%.
#542b87 hex color contains mainly BLUE.
The closest web safe color of #542b87 is #663399
#542b87 hex color has a decimal value of 5516167.
HEX | 542b87 | #542b87 |
---|---|---|
RGB | 84, 43, 135 | rgb(84, 43, 135) |
RGB Percent | 32.94, 16.86, 52.94 | rgb(32.94, 16.86, 52.94) |
CMYK | 38, 68, 0, 47 | |
HSL | 266.7°, 51.69, 34.9 | hsl(266.7, 51.69%, 34.9%) |
HSV | 266.7°, 68.1, 52.9 |
XYZ | 8.893, 5.362, 23.488 |
---|---|
Hunter Lab | 23.156, 28.029, -43.931 |
CIE-LAB | 27.742, 38.446, -44.53 |
CIE-LCH | 27.742, 58.83, 310.806 |
CIE-LUV | 37.78, 68.15, 0, 47.06 |
Web Safe | 663399 |
RGB percent of color #542b87
CMYK percent of color #542b87
Text with hexadecimal color #542b87
This text has a font color of #542b87
<p style="color:#542b87">Text here</p>
#542b87 Background Color
This box has a background color of #542b87
<div style="background-color:#542b87">Text here</div>
#542b87 Border Color
This box has a border color of #542b87
<div style="border: 4px solid #542b87">Text here</div>
CSS codes
<p style="color:#542b87">Text here</p>
<div style="background-color:#542b87">Text here</div>
<div style="border: 4px solid #542b87">Text here</div>
#542b87 Color on white background
This is how a font and box color of #542b87 will look
on a white background.
#542b87 Color on black background
This is how a font and box color of #542b87 hex color will look
on a black background.