In RGB color space, #542ba7 hex color has a red value of 84, a green value of 43 and a blue value of 167.
In CMYK color space (used in color printing), #542ba7 hex color is composed of 49.7% cyan, 74.25% magenta, 0% yellow and 34.51% black.
#542ba7 color has a hue of 259.8 degrees, a saturation of 59.05% and a lightness of 41.2%.
#542ba7 hex color contains mainly BLUE.
The closest web safe color of #542ba7 is #663399
#542ba7 hex color has a decimal value of 5516199.
HEX | 542ba7 | #542ba7 |
---|---|---|
RGB | 84, 43, 167 | rgb(84, 43, 167) |
RGB Percent | 32.94, 16.86, 65.49 | rgb(32.94, 16.86, 65.49) |
CMYK | 50, 74, 0, 35 | |
HSL | 259.8°, 59.05, 41.2 | hsl(259.8, 59.05%, 41.2%) |
HSV | 259.8°, 74.3, 65.5 |
XYZ | 11.495, 6.403, 37.189 |
---|---|
Hunter Lab | 25.304, 36.806, -69.424 |
CIE-LAB | 30.407, 47.232, -59.79 |
CIE-LCH | 30.407, 76.195, 308.307 |
CIE-LUV | 49.7, 74.25, 0, 34.51 |
Web Safe | 663399 |
RGB percent of color #542ba7
CMYK percent of color #542ba7
Text with hexadecimal color #542ba7
This text has a font color of #542ba7
<p style="color:#542ba7">Text here</p>
#542ba7 Background Color
This box has a background color of #542ba7
<div style="background-color:#542ba7">Text here</div>
#542ba7 Border Color
This box has a border color of #542ba7
<div style="border: 4px solid #542ba7">Text here</div>
CSS codes
<p style="color:#542ba7">Text here</p>
<div style="background-color:#542ba7">Text here</div>
<div style="border: 4px solid #542ba7">Text here</div>
#542ba7 Color on white background
This is how a font and box color of #542ba7 will look
on a white background.
#542ba7 Color on black background
This is how a font and box color of #542ba7 hex color will look
on a black background.