In RGB color space, #542fa3 hex color has a red value of 84, a green value of 47 and a blue value of 163.
In CMYK color space (used in color printing), #542fa3 hex color is composed of 48.47% cyan, 71.17% magenta, 0% yellow and 36.08% black.
#542fa3 color has a hue of 259.1 degrees, a saturation of 55.24% and a lightness of 41.2%.
#542fa3 hex color contains mainly BLUE.
The closest web safe color of #542fa3 is #663399
#542fa3 hex color has a decimal value of 5517219.
HEX | 542fa3 | #542fa3 |
---|---|---|
RGB | 84, 47, 163 | rgb(84, 47, 163) |
RGB Percent | 32.94, 18.43, 63.92 | rgb(32.94, 18.43, 63.92) |
CMYK | 48, 71, 0, 36 | |
HSL | 259.1°, 55.24, 41.2 | hsl(259.1, 55.24%, 41.2%) |
HSV | 259.1°, 71.2, 63.9 |
XYZ | 11.284, 6.562, 35.322 |
---|---|
Hunter Lab | 25.616, 33.8, -63.822 |
CIE-LAB | 30.788, 44.068, -56.753 |
CIE-LCH | 30.788, 71.853, 307.829 |
CIE-LUV | 48.47, 71.17, 0, 36.08 |
Web Safe | 663399 |
RGB percent of color #542fa3
CMYK percent of color #542fa3
Text with hexadecimal color #542fa3
This text has a font color of #542fa3
<p style="color:#542fa3">Text here</p>
#542fa3 Background Color
This box has a background color of #542fa3
<div style="background-color:#542fa3">Text here</div>
#542fa3 Border Color
This box has a border color of #542fa3
<div style="border: 4px solid #542fa3">Text here</div>
CSS codes
<p style="color:#542fa3">Text here</p>
<div style="background-color:#542fa3">Text here</div>
<div style="border: 4px solid #542fa3">Text here</div>
#542fa3 Color on white background
This is how a font and box color of #542fa3 will look
on a white background.
#542fa3 Color on black background
This is how a font and box color of #542fa3 hex color will look
on a black background.