In RGB color space, #542ab2 hex color has a red value of 84, a green value of 42 and a blue value of 178.
In CMYK color space (used in color printing), #542ab2 hex color is composed of 52.81% cyan, 76.4% magenta, 0% yellow and 30.2% black.
#542ab2 color has a hue of 258.5 degrees, a saturation of 61.82% and a lightness of 43.1%.
#542ab2 hex color contains mainly BLUE.
The closest web safe color of #542ab2 is #663399
#542ab2 hex color has a decimal value of 5515954.
HEX | 542ab2 | #542ab2 |
---|---|---|
RGB | 84, 42, 178 | rgb(84, 42, 178) |
RGB Percent | 32.94, 16.47, 69.8 | rgb(32.94, 16.47, 69.8) |
CMYK | 53, 76, 0, 30 | |
HSL | 258.5°, 61.82, 43.1 | hsl(258.5, 61.82%, 43.1%) |
HSV | 258.5°, 76.4, 69.8 |
XYZ | 12.52, 6.755, 42.763 |
---|---|
Hunter Lab | 25.99, 40.503, -79.359 |
CIE-LAB | 31.243, 50.773, -65.012 |
CIE-LCH | 31.243, 82.489, 307.989 |
CIE-LUV | 52.81, 76.4, 0, 30.2 |
Web Safe | 663399 |
RGB percent of color #542ab2
CMYK percent of color #542ab2
Text with hexadecimal color #542ab2
This text has a font color of #542ab2
<p style="color:#542ab2">Text here</p>
#542ab2 Background Color
This box has a background color of #542ab2
<div style="background-color:#542ab2">Text here</div>
#542ab2 Border Color
This box has a border color of #542ab2
<div style="border: 4px solid #542ab2">Text here</div>
CSS codes
<p style="color:#542ab2">Text here</p>
<div style="background-color:#542ab2">Text here</div>
<div style="border: 4px solid #542ab2">Text here</div>
#542ab2 Color on white background
This is how a font and box color of #542ab2 will look
on a white background.
#542ab2 Color on black background
This is how a font and box color of #542ab2 hex color will look
on a black background.