In RGB color space, #542ad1 hex color has a red value of 84, a green value of 42 and a blue value of 209.
In CMYK color space (used in color printing), #542ad1 hex color is composed of 59.81% cyan, 79.9% magenta, 0% yellow and 18.04% black.
#542ad1 color has a hue of 255.1 degrees, a saturation of 66.53% and a lightness of 49.2%.
#542ad1 hex color contains mainly BLUE.
The closest web safe color of #542ad1 is #6633cc
#542ad1 hex color has a decimal value of 5515985.
HEX | 542ad1 | #542ad1 |
---|---|---|
RGB | 84, 42, 209 | rgb(84, 42, 209) |
RGB Percent | 32.94, 16.47, 81.96 | rgb(32.94, 16.47, 81.96) |
CMYK | 60, 80, 0, 18 | |
HSL | 255.1°, 66.53, 49.2 | hsl(255.1, 66.53%, 49.2%) |
HSV | 255.1°, 79.9, 82 |
XYZ | 15.993, 8.144, 61.051 |
---|---|
Hunter Lab | 28.538, 50.093, -106.863 |
CIE-LAB | 34.281, 59.308, -78.229 |
CIE-LCH | 34.281, 98.169, 307.167 |
CIE-LUV | 59.81, 79.9, 0, 18.04 |
Web Safe | 6633cc |
RGB percent of color #542ad1
CMYK percent of color #542ad1
Text with hexadecimal color #542ad1
This text has a font color of #542ad1
<p style="color:#542ad1">Text here</p>
#542ad1 Background Color
This box has a background color of #542ad1
<div style="background-color:#542ad1">Text here</div>
#542ad1 Border Color
This box has a border color of #542ad1
<div style="border: 4px solid #542ad1">Text here</div>
CSS codes
<p style="color:#542ad1">Text here</p>
<div style="background-color:#542ad1">Text here</div>
<div style="border: 4px solid #542ad1">Text here</div>
#542ad1 Color on white background
This is how a font and box color of #542ad1 will look
on a white background.
#542ad1 Color on black background
This is how a font and box color of #542ad1 hex color will look
on a black background.