In RGB color space, #542fb1 hex color has a red value of 84, a green value of 47 and a blue value of 177.
In CMYK color space (used in color printing), #542fb1 hex color is composed of 52.54% cyan, 73.45% magenta, 0% yellow and 30.59% black.
#542fb1 color has a hue of 257.1 degrees, a saturation of 58.04% and a lightness of 43.9%.
#542fb1 hex color contains mainly BLUE.
The closest web safe color of #542fb1 is #663399
#542fb1 hex color has a decimal value of 5517233.
HEX | 542fb1 | #542fb1 |
---|---|---|
RGB | 84, 47, 177 | rgb(84, 47, 177) |
RGB Percent | 32.94, 18.43, 69.41 | rgb(32.94, 18.43, 69.41) |
CMYK | 53, 73, 0, 31 | |
HSL | 257.1°, 58.04, 43.9 | hsl(257.1, 58.04%, 43.9%) |
HSV | 257.1°, 73.4, 69.4 |
XYZ | 12.608, 7.092, 42.299 |
---|---|
Hunter Lab | 26.631, 37.905, -75.532 |
CIE-LAB | 32.015, 48.036, -63.148 |
CIE-LCH | 32.015, 79.342, 307.26 |
CIE-LUV | 52.54, 73.45, 0, 30.59 |
Web Safe | 663399 |
RGB percent of color #542fb1
CMYK percent of color #542fb1
Text with hexadecimal color #542fb1
This text has a font color of #542fb1
<p style="color:#542fb1">Text here</p>
#542fb1 Background Color
This box has a background color of #542fb1
<div style="background-color:#542fb1">Text here</div>
#542fb1 Border Color
This box has a border color of #542fb1
<div style="border: 4px solid #542fb1">Text here</div>
CSS codes
<p style="color:#542fb1">Text here</p>
<div style="background-color:#542fb1">Text here</div>
<div style="border: 4px solid #542fb1">Text here</div>
#542fb1 Color on white background
This is how a font and box color of #542fb1 will look
on a white background.
#542fb1 Color on black background
This is how a font and box color of #542fb1 hex color will look
on a black background.