In RGB color space, #542ecd hex color has a red value of 84, a green value of 46 and a blue value of 205.
In CMYK color space (used in color printing), #542ecd hex color is composed of 59.02% cyan, 77.56% magenta, 0% yellow and 19.61% black.
#542ecd color has a hue of 254.3 degrees, a saturation of 63.35% and a lightness of 49.2%.
#542ecd hex color contains mainly BLUE.
The closest web safe color of #542ecd is #6633cc
#542ecd hex color has a decimal value of 5517005.
HEX | 542ecd | #542ecd |
---|---|---|
RGB | 84, 46, 205 | rgb(84, 46, 205) |
RGB Percent | 32.94, 18.04, 80.39 | rgb(32.94, 18.04, 80.39) |
CMYK | 59, 78, 0, 20 | |
HSL | 254.3°, 63.35, 49.2 | hsl(254.3, 63.35%, 49.2%) |
HSV | 254.3°, 77.6, 80.4 |
XYZ | 15.653, 8.247, 58.524 |
---|---|
Hunter Lab | 28.718, 47.039, -100.726 |
CIE-LAB | 34.492, 56.428, -75.557 |
CIE-LCH | 34.492, 94.303, 306.753 |
CIE-LUV | 59.02, 77.56, 0, 19.61 |
Web Safe | 6633cc |
RGB percent of color #542ecd
CMYK percent of color #542ecd
Text with hexadecimal color #542ecd
This text has a font color of #542ecd
<p style="color:#542ecd">Text here</p>
#542ecd Background Color
This box has a background color of #542ecd
<div style="background-color:#542ecd">Text here</div>
#542ecd Border Color
This box has a border color of #542ecd
<div style="border: 4px solid #542ecd">Text here</div>
CSS codes
<p style="color:#542ecd">Text here</p>
<div style="background-color:#542ecd">Text here</div>
<div style="border: 4px solid #542ecd">Text here</div>
#542ecd Color on white background
This is how a font and box color of #542ecd will look
on a white background.
#542ecd Color on black background
This is how a font and box color of #542ecd hex color will look
on a black background.