In RGB color space, #542aa8 hex color has a red value of 84, a green value of 42 and a blue value of 168.
In CMYK color space (used in color printing), #542aa8 hex color is composed of 50% cyan, 75% magenta, 0% yellow and 34.12% black.
#542aa8 color has a hue of 260 degrees, a saturation of 60% and a lightness of 41.2%.
#542aa8 hex color contains mainly BLUE.
The closest web safe color of #542aa8 is #663399
#542aa8 hex color has a decimal value of 5515944.
HEX | 542aa8 | #542aa8 |
---|---|---|
RGB | 84, 42, 168 | rgb(84, 42, 168) |
RGB Percent | 32.94, 16.47, 65.88 | rgb(32.94, 16.47, 65.88) |
CMYK | 50, 75, 0, 34 | |
HSL | 260°, 60, 41.2 | hsl(260, 60%, 41.2%) |
HSV | 260°, 75, 65.9 |
XYZ | 11.552, 6.368, 37.666 |
---|---|
Hunter Lab | 25.235, 37.552, -70.833 |
CIE-LAB | 30.323, 48.006, -60.531 |
CIE-LCH | 30.323, 77.257, 308.417 |
CIE-LUV | 50, 75, 0, 34.12 |
Web Safe | 663399 |
RGB percent of color #542aa8
CMYK percent of color #542aa8
Text with hexadecimal color #542aa8
This text has a font color of #542aa8
<p style="color:#542aa8">Text here</p>
#542aa8 Background Color
This box has a background color of #542aa8
<div style="background-color:#542aa8">Text here</div>
#542aa8 Border Color
This box has a border color of #542aa8
<div style="border: 4px solid #542aa8">Text here</div>
CSS codes
<p style="color:#542aa8">Text here</p>
<div style="background-color:#542aa8">Text here</div>
<div style="border: 4px solid #542aa8">Text here</div>
#542aa8 Color on white background
This is how a font and box color of #542aa8 will look
on a white background.
#542aa8 Color on black background
This is how a font and box color of #542aa8 hex color will look
on a black background.