In RGB color space, #542a9d hex color has a red value of 84, a green value of 42 and a blue value of 157.
In CMYK color space (used in color printing), #542a9d hex color is composed of 46.5% cyan, 73.25% magenta, 0% yellow and 38.43% black.
#542a9d color has a hue of 261.9 degrees, a saturation of 57.79% and a lightness of 39%.
#542a9d hex color contains mainly BLUE.
The closest web safe color of #542a9d is #663399
#542a9d hex color has a decimal value of 5515933.
HEX | 542a9d | #542a9d |
---|---|---|
RGB | 84, 42, 157 | rgb(84, 42, 157) |
RGB Percent | 32.94, 16.47, 61.57 | rgb(32.94, 16.47, 61.57) |
CMYK | 47, 73, 0, 38 | |
HSL | 261.9°, 57.79, 39 | hsl(261.9, 57.79%, 39%) |
HSV | 261.9°, 73.2, 61.6 |
XYZ | 10.57, 5.975, 32.494 |
---|---|
Hunter Lab | 24.444, 34.41, -61.706 |
CIE-LAB | 29.349, 44.974, -55.464 |
CIE-LCH | 29.349, 71.407, 309.038 |
CIE-LUV | 46.5, 73.25, 0, 38.43 |
Web Safe | 663399 |
RGB percent of color #542a9d
CMYK percent of color #542a9d
Text with hexadecimal color #542a9d
This text has a font color of #542a9d
<p style="color:#542a9d">Text here</p>
#542a9d Background Color
This box has a background color of #542a9d
<div style="background-color:#542a9d">Text here</div>
#542a9d Border Color
This box has a border color of #542a9d
<div style="border: 4px solid #542a9d">Text here</div>
CSS codes
<p style="color:#542a9d">Text here</p>
<div style="background-color:#542a9d">Text here</div>
<div style="border: 4px solid #542a9d">Text here</div>
#542a9d Color on white background
This is how a font and box color of #542a9d will look
on a white background.
#542a9d Color on black background
This is how a font and box color of #542a9d hex color will look
on a black background.