In RGB color space, #542daf hex color has a red value of 84, a green value of 45 and a blue value of 175.
In CMYK color space (used in color printing), #542daf hex color is composed of 52% cyan, 74.29% magenta, 0% yellow and 31.37% black.
#542daf color has a hue of 258 degrees, a saturation of 59.09% and a lightness of 43.1%.
#542daf hex color contains mainly BLUE.
The closest web safe color of #542daf is #663399
#542daf hex color has a decimal value of 5516719.
HEX | 542daf | #542daf |
---|---|---|
RGB | 84, 45, 175 | rgb(84, 45, 175) |
RGB Percent | 32.94, 17.65, 68.63 | rgb(32.94, 17.65, 68.63) |
CMYK | 52, 74, 0, 31 | |
HSL | 258°, 59.09, 43.1 | hsl(258, 59.09%, 43.1%) |
HSV | 258°, 74.3, 68.6 |
XYZ | 12.332, 6.857, 41.231 |
---|---|
Hunter Lab | 26.186, 38.238, -75.025 |
CIE-LAB | 31.479, 48.474, -62.834 |
CIE-LCH | 31.479, 79.359, 307.649 |
CIE-LUV | 52, 74.29, 0, 31.37 |
Web Safe | 663399 |
RGB percent of color #542daf
CMYK percent of color #542daf
Text with hexadecimal color #542daf
This text has a font color of #542daf
<p style="color:#542daf">Text here</p>
#542daf Background Color
This box has a background color of #542daf
<div style="background-color:#542daf">Text here</div>
#542daf Border Color
This box has a border color of #542daf
<div style="border: 4px solid #542daf">Text here</div>
CSS codes
<p style="color:#542daf">Text here</p>
<div style="background-color:#542daf">Text here</div>
<div style="border: 4px solid #542daf">Text here</div>
#542daf Color on white background
This is how a font and box color of #542daf will look
on a white background.
#542daf Color on black background
This is how a font and box color of #542daf hex color will look
on a black background.