In RGB color space, #542aa2 hex color has a red value of 84, a green value of 42 and a blue value of 162.
In CMYK color space (used in color printing), #542aa2 hex color is composed of 48.15% cyan, 74.07% magenta, 0% yellow and 36.47% black.
#542aa2 color has a hue of 261 degrees, a saturation of 58.82% and a lightness of 40%.
#542aa2 hex color contains mainly BLUE.
The closest web safe color of #542aa2 is #663399
#542aa2 hex color has a decimal value of 5515938.
HEX | 542aa2 | #542aa2 |
---|---|---|
RGB | 84, 42, 162 | rgb(84, 42, 162) |
RGB Percent | 32.94, 16.47, 63.53 | rgb(32.94, 16.47, 63.53) |
CMYK | 48, 74, 0, 36 | |
HSL | 261°, 58.82, 40 | hsl(261, 58.82%, 40%) |
HSV | 261°, 74.1, 63.5 |
XYZ | 11.006, 6.149, 34.789 |
---|---|
Hunter Lab | 24.797, 35.831, -65.822 |
CIE-LAB | 29.785, 46.356, -57.788 |
CIE-LCH | 29.785, 74.083, 308.736 |
CIE-LUV | 48.15, 74.07, 0, 36.47 |
Web Safe | 663399 |
RGB percent of color #542aa2
CMYK percent of color #542aa2
Text with hexadecimal color #542aa2
This text has a font color of #542aa2
<p style="color:#542aa2">Text here</p>
#542aa2 Background Color
This box has a background color of #542aa2
<div style="background-color:#542aa2">Text here</div>
#542aa2 Border Color
This box has a border color of #542aa2
<div style="border: 4px solid #542aa2">Text here</div>
CSS codes
<p style="color:#542aa2">Text here</p>
<div style="background-color:#542aa2">Text here</div>
<div style="border: 4px solid #542aa2">Text here</div>
#542aa2 Color on white background
This is how a font and box color of #542aa2 will look
on a white background.
#542aa2 Color on black background
This is how a font and box color of #542aa2 hex color will look
on a black background.