In RGB color space, #642a98 hex color has a red value of 100, a green value of 42 and a blue value of 152.
In CMYK color space (used in color printing), #642a98 hex color is composed of 34.21% cyan, 72.37% magenta, 0% yellow and 40.39% black.
#642a98 color has a hue of 271.6 degrees, a saturation of 56.7% and a lightness of 38%.
#642a98 hex color contains mainly BLUE.
The closest web safe color of #642a98 is #663399
#642a98 hex color has a decimal value of 6564504.
HEX | 642a98 | #642a98 |
---|---|---|
RGB | 100, 42, 152 | rgb(100, 42, 152) |
RGB Percent | 39.22, 16.47, 59.61 | rgb(39.22, 16.47, 59.61) |
CMYK | 34, 72, 0, 40 | |
HSL | 271.6°, 56.7, 38 | hsl(271.6, 56.7%, 38%) |
HSV | 271.6°, 72.4, 59.6 |
XYZ | 11.751, 6.632, 30.367 |
---|---|
Hunter Lab | 25.753, 36.383, -51.887 |
CIE-LAB | 30.954, 46.698, -49.715 |
CIE-LCH | 30.954, 68.208, 313.208 |
CIE-LUV | 34.21, 72.37, 0, 40.39 |
Web Safe | 663399 |
RGB percent of color #642a98
CMYK percent of color #642a98
Text with hexadecimal color #642a98
This text has a font color of #642a98
<p style="color:#642a98">Text here</p>
#642a98 Background Color
This box has a background color of #642a98
<div style="background-color:#642a98">Text here</div>
#642a98 Border Color
This box has a border color of #642a98
<div style="border: 4px solid #642a98">Text here</div>
CSS codes
<p style="color:#642a98">Text here</p>
<div style="background-color:#642a98">Text here</div>
<div style="border: 4px solid #642a98">Text here</div>
#642a98 Color on white background
This is how a font and box color of #642a98 will look
on a white background.
#642a98 Color on black background
This is how a font and box color of #642a98 hex color will look
on a black background.