In RGB color space, #542a6a hex color has a red value of 84, a green value of 42 and a blue value of 106.
In CMYK color space (used in color printing), #542a6a hex color is composed of 20.75% cyan, 60.38% magenta, 0% yellow and 58.43% black.
#542a6a color has a hue of 279.4 degrees, a saturation of 43.24% and a lightness of 29%.
#542a6a hex color contains mainly BLUE.
The closest web safe color of #542a6a is #663366
#542a6a hex color has a decimal value of 5515882.
HEX | 542a6a | #542a6a |
---|---|---|
RGB | 84, 42, 106 | rgb(84, 42, 106) |
RGB Percent | 32.94, 16.47, 41.57 | rgb(32.94, 16.47, 41.57) |
CMYK | 21, 60, 0, 58 | |
HSL | 279.4°, 43.24, 29 | hsl(279.4, 43.24%, 29%) |
HSV | 279.4°, 60.4, 41.6 |
XYZ | 7.086, 4.581, 14.147 |
---|---|
Hunter Lab | 21.403, 21.64, -24.207 |
CIE-LAB | 25.506, 31.533, -29.735 |
CIE-LCH | 25.506, 43.342, 316.681 |
CIE-LUV | 20.75, 60.38, 0, 58.43 |
Web Safe | 663366 |
RGB percent of color #542a6a
CMYK percent of color #542a6a
Text with hexadecimal color #542a6a
This text has a font color of #542a6a
<p style="color:#542a6a">Text here</p>
#542a6a Background Color
This box has a background color of #542a6a
<div style="background-color:#542a6a">Text here</div>
#542a6a Border Color
This box has a border color of #542a6a
<div style="border: 4px solid #542a6a">Text here</div>
CSS codes
<p style="color:#542a6a">Text here</p>
<div style="background-color:#542a6a">Text here</div>
<div style="border: 4px solid #542a6a">Text here</div>
#542a6a Color on white background
This is how a font and box color of #542a6a will look
on a white background.
#542a6a Color on black background
This is how a font and box color of #542a6a hex color will look
on a black background.