In RGB color space, #542ac1 hex color has a red value of 84, a green value of 42 and a blue value of 193.
In CMYK color space (used in color printing), #542ac1 hex color is composed of 56.48% cyan, 78.24% magenta, 0% yellow and 24.31% black.
#542ac1 color has a hue of 256.7 degrees, a saturation of 64.26% and a lightness of 46.1%.
#542ac1 hex color contains mainly BLUE.
The closest web safe color of #542ac1 is #6633cc
#542ac1 hex color has a decimal value of 5515969.
HEX | 542ac1 | #542ac1 |
---|---|---|
RGB | 84, 42, 193 | rgb(84, 42, 193) |
RGB Percent | 32.94, 16.47, 75.69 | rgb(32.94, 16.47, 75.69) |
CMYK | 56, 78, 0, 24 | |
HSL | 256.7°, 64.26, 46.1 | hsl(256.7, 64.26%, 46.1%) |
HSV | 256.7°, 78.2, 75.7 |
XYZ | 14.11, 7.391, 51.135 |
---|---|
Hunter Lab | 27.186, 45.067, -92.488 |
CIE-LAB | 32.681, 54.916, -71.526 |
CIE-LCH | 32.681, 90.176, 307.516 |
CIE-LUV | 56.48, 78.24, 0, 24.31 |
Web Safe | 6633cc |
RGB percent of color #542ac1
CMYK percent of color #542ac1
Text with hexadecimal color #542ac1
This text has a font color of #542ac1
<p style="color:#542ac1">Text here</p>
#542ac1 Background Color
This box has a background color of #542ac1
<div style="background-color:#542ac1">Text here</div>
#542ac1 Border Color
This box has a border color of #542ac1
<div style="border: 4px solid #542ac1">Text here</div>
CSS codes
<p style="color:#542ac1">Text here</p>
<div style="background-color:#542ac1">Text here</div>
<div style="border: 4px solid #542ac1">Text here</div>
#542ac1 Color on white background
This is how a font and box color of #542ac1 will look
on a white background.
#542ac1 Color on black background
This is how a font and box color of #542ac1 hex color will look
on a black background.