In RGB color space, #542ac4 hex color has a red value of 84, a green value of 42 and a blue value of 196.
In CMYK color space (used in color printing), #542ac4 hex color is composed of 57.14% cyan, 78.57% magenta, 0% yellow and 23.14% black.
#542ac4 color has a hue of 256.4 degrees, a saturation of 64.71% and a lightness of 46.7%.
#542ac4 hex color contains mainly BLUE.
The closest web safe color of #542ac4 is #6633cc
#542ac4 hex color has a decimal value of 5515972.
HEX | 542ac4 | #542ac4 |
---|---|---|
RGB | 84, 42, 196 | rgb(84, 42, 196) |
RGB Percent | 32.94, 16.47, 76.86 | rgb(32.94, 16.47, 76.86) |
CMYK | 57, 79, 0, 23 | |
HSL | 256.4°, 64.71, 46.7 | hsl(256.4, 64.71%, 46.7%) |
HSV | 256.4°, 78.6, 76.9 |
XYZ | 14.448, 7.526, 52.916 |
---|---|
Hunter Lab | 27.434, 45.999, -95.16 |
CIE-LAB | 32.976, 55.744, -72.803 |
CIE-LCH | 32.976, 91.693, 307.441 |
CIE-LUV | 57.14, 78.57, 0, 23.14 |
Web Safe | 6633cc |
RGB percent of color #542ac4
CMYK percent of color #542ac4
Text with hexadecimal color #542ac4
This text has a font color of #542ac4
<p style="color:#542ac4">Text here</p>
#542ac4 Background Color
This box has a background color of #542ac4
<div style="background-color:#542ac4">Text here</div>
#542ac4 Border Color
This box has a border color of #542ac4
<div style="border: 4px solid #542ac4">Text here</div>
CSS codes
<p style="color:#542ac4">Text here</p>
<div style="background-color:#542ac4">Text here</div>
<div style="border: 4px solid #542ac4">Text here</div>
#542ac4 Color on white background
This is how a font and box color of #542ac4 will look
on a white background.
#542ac4 Color on black background
This is how a font and box color of #542ac4 hex color will look
on a black background.