In RGB color space, #542ca3 hex color has a red value of 84, a green value of 44 and a blue value of 163.
In CMYK color space (used in color printing), #542ca3 hex color is composed of 48.47% cyan, 73.01% magenta, 0% yellow and 36.08% black.
#542ca3 color has a hue of 260.2 degrees, a saturation of 57.49% and a lightness of 40.6%.
#542ca3 hex color contains mainly BLUE.
The closest web safe color of #542ca3 is #663399
#542ca3 hex color has a decimal value of 5516451.
HEX | 542ca3 | #542ca3 |
---|---|---|
RGB | 84, 44, 163 | rgb(84, 44, 163) |
RGB Percent | 32.94, 17.25, 63.92 | rgb(32.94, 17.25, 63.92) |
CMYK | 48, 73, 0, 36 | |
HSL | 260.2°, 57.49, 40.6 | hsl(260.2, 57.49%, 40.6%) |
HSV | 260.2°, 73, 63.9 |
XYZ | 11.168, 6.331, 35.284 |
---|---|
Hunter Lab | 25.161, 35.195, -65.529 |
CIE-LAB | 30.233, 45.618, -57.662 |
CIE-LCH | 30.233, 73.525, 308.348 |
CIE-LUV | 48.47, 73.01, 0, 36.08 |
Web Safe | 663399 |
RGB percent of color #542ca3
CMYK percent of color #542ca3
Text with hexadecimal color #542ca3
This text has a font color of #542ca3
<p style="color:#542ca3">Text here</p>
#542ca3 Background Color
This box has a background color of #542ca3
<div style="background-color:#542ca3">Text here</div>
#542ca3 Border Color
This box has a border color of #542ca3
<div style="border: 4px solid #542ca3">Text here</div>
CSS codes
<p style="color:#542ca3">Text here</p>
<div style="background-color:#542ca3">Text here</div>
<div style="border: 4px solid #542ca3">Text here</div>
#542ca3 Color on white background
This is how a font and box color of #542ca3 will look
on a white background.
#542ca3 Color on black background
This is how a font and box color of #542ca3 hex color will look
on a black background.