In RGB color space, #542781 hex color has a red value of 84, a green value of 39 and a blue value of 129.
In CMYK color space (used in color printing), #542781 hex color is composed of 34.88% cyan, 69.77% magenta, 0% yellow and 49.41% black.
#542781 color has a hue of 270 degrees, a saturation of 53.57% and a lightness of 32.9%.
#542781 hex color contains mainly BLUE.
The closest web safe color of #542781 is #663399
#542781 hex color has a decimal value of 5515137.
HEX | 542781 | #542781 |
---|---|---|
RGB | 84, 39, 129 | rgb(84, 39, 129) |
RGB Percent | 32.94, 15.29, 50.59 | rgb(32.94, 15.29, 50.59) |
CMYK | 35, 70, 0, 49 | |
HSL | 270°, 53.57, 32.9 | hsl(270, 53.57%, 32.9%) |
HSV | 270°, 69.8, 50.6 |
XYZ | 8.344, 4.921, 21.279 |
---|---|
Hunter Lab | 22.183, 28.32, -41.345 |
CIE-LAB | 26.508, 38.993, -42.772 |
CIE-LCH | 26.508, 57.878, 312.354 |
CIE-LUV | 34.88, 69.77, 0, 49.41 |
Web Safe | 663399 |
RGB percent of color #542781
CMYK percent of color #542781
Text with hexadecimal color #542781
This text has a font color of #542781
<p style="color:#542781">Text here</p>
#542781 Background Color
This box has a background color of #542781
<div style="background-color:#542781">Text here</div>
#542781 Border Color
This box has a border color of #542781
<div style="border: 4px solid #542781">Text here</div>
CSS codes
<p style="color:#542781">Text here</p>
<div style="background-color:#542781">Text here</div>
<div style="border: 4px solid #542781">Text here</div>
#542781 Color on white background
This is how a font and box color of #542781 will look
on a white background.
#542781 Color on black background
This is how a font and box color of #542781 hex color will look
on a black background.