In RGB color space, #642a8e hex color has a red value of 100, a green value of 42 and a blue value of 142.
In CMYK color space (used in color printing), #642a8e hex color is composed of 29.58% cyan, 70.42% magenta, 0% yellow and 44.31% black.
#642a8e color has a hue of 274.8 degrees, a saturation of 54.35% and a lightness of 36.1%.
#642a8e hex color contains mainly BLUE.
The closest web safe color of #642a8e is #663399
#642a8e hex color has a decimal value of 6564494.
HEX | 642a8e | #642a8e |
---|---|---|
RGB | 100, 42, 142 | rgb(100, 42, 142) |
RGB Percent | 39.22, 16.47, 55.69 | rgb(39.22, 16.47, 55.69) |
CMYK | 30, 70, 0, 44 | |
HSL | 274.8°, 54.35, 36.1 | hsl(274.8, 54.35%, 36.1%) |
HSV | 274.8°, 70.4, 55.7 |
XYZ | 10.966, 6.318, 26.233 |
---|---|
Hunter Lab | 25.136, 33.887, -44.284 |
CIE-LAB | 30.201, 44.269, -44.792 |
CIE-LCH | 30.201, 62.977, 314.664 |
CIE-LUV | 29.58, 70.42, 0, 44.31 |
Web Safe | 663399 |
RGB percent of color #642a8e
CMYK percent of color #642a8e
Text with hexadecimal color #642a8e
This text has a font color of #642a8e
<p style="color:#642a8e">Text here</p>
#642a8e Background Color
This box has a background color of #642a8e
<div style="background-color:#642a8e">Text here</div>
#642a8e Border Color
This box has a border color of #642a8e
<div style="border: 4px solid #642a8e">Text here</div>
CSS codes
<p style="color:#642a8e">Text here</p>
<div style="background-color:#642a8e">Text here</div>
<div style="border: 4px solid #642a8e">Text here</div>
#642a8e Color on white background
This is how a font and box color of #642a8e will look
on a white background.
#642a8e Color on black background
This is how a font and box color of #642a8e hex color will look
on a black background.