In RGB color space, #542dad hex color has a red value of 84, a green value of 45 and a blue value of 173.
In CMYK color space (used in color printing), #542dad hex color is composed of 51.45% cyan, 73.99% magenta, 0% yellow and 32.16% black.
#542dad color has a hue of 258.3 degrees, a saturation of 58.72% and a lightness of 42.7%.
#542dad hex color contains mainly BLUE.
The closest web safe color of #542dad is #663399
#542dad hex color has a decimal value of 5516717.
HEX | 542dad | #542dad |
---|---|---|
RGB | 84, 45, 173 | rgb(84, 45, 173) |
RGB Percent | 32.94, 17.65, 67.84 | rgb(32.94, 17.65, 67.84) |
CMYK | 51, 74, 0, 32 | |
HSL | 258.3°, 58.72, 42.7 | hsl(258.3, 58.72%, 42.7%) |
HSV | 258.3°, 74, 67.8 |
XYZ | 12.137, 6.779, 40.204 |
---|---|
Hunter Lab | 26.037, 37.644, -73.326 |
CIE-LAB | 31.298, 47.911, -61.934 |
CIE-LCH | 31.298, 78.303, 307.725 |
CIE-LUV | 51.45, 73.99, 0, 32.16 |
Web Safe | 663399 |
RGB percent of color #542dad
CMYK percent of color #542dad
Text with hexadecimal color #542dad
This text has a font color of #542dad
<p style="color:#542dad">Text here</p>
#542dad Background Color
This box has a background color of #542dad
<div style="background-color:#542dad">Text here</div>
#542dad Border Color
This box has a border color of #542dad
<div style="border: 4px solid #542dad">Text here</div>
CSS codes
<p style="color:#542dad">Text here</p>
<div style="background-color:#542dad">Text here</div>
<div style="border: 4px solid #542dad">Text here</div>
#542dad Color on white background
This is how a font and box color of #542dad will look
on a white background.
#542dad Color on black background
This is how a font and box color of #542dad hex color will look
on a black background.