In RGB color space, #542786 hex color has a red value of 84, a green value of 39 and a blue value of 134.
In CMYK color space (used in color printing), #542786 hex color is composed of 37.31% cyan, 70.9% magenta, 0% yellow and 47.45% black.
#542786 color has a hue of 268.4 degrees, a saturation of 54.91% and a lightness of 33.9%.
#542786 hex color contains mainly BLUE.
The closest web safe color of #542786 is #663399
#542786 hex color has a decimal value of 5515142.
HEX | 542786 | #542786 |
---|---|---|
RGB | 84, 39, 134 | rgb(84, 39, 134) |
RGB Percent | 32.94, 15.29, 52.55 | rgb(32.94, 15.29, 52.55) |
CMYK | 37, 71, 0, 47 | |
HSL | 268.4°, 54.91, 33.9 | hsl(268.4, 54.91%, 33.9%) |
HSV | 268.4°, 70.9, 52.5 |
XYZ | 8.685, 5.057, 23.073 |
---|---|
Hunter Lab | 22.488, 29.585, -45.092 |
CIE-LAB | 26.897, 40.307, -45.278 |
CIE-LCH | 26.897, 60.62, 311.676 |
CIE-LUV | 37.31, 70.9, 0, 47.45 |
Web Safe | 663399 |
RGB percent of color #542786
CMYK percent of color #542786
Text with hexadecimal color #542786
This text has a font color of #542786
<p style="color:#542786">Text here</p>
#542786 Background Color
This box has a background color of #542786
<div style="background-color:#542786">Text here</div>
#542786 Border Color
This box has a border color of #542786
<div style="border: 4px solid #542786">Text here</div>
CSS codes
<p style="color:#542786">Text here</p>
<div style="background-color:#542786">Text here</div>
<div style="border: 4px solid #542786">Text here</div>
#542786 Color on white background
This is how a font and box color of #542786 will look
on a white background.
#542786 Color on black background
This is how a font and box color of #542786 hex color will look
on a black background.