In RGB color space, #642a9d hex color has a red value of 100, a green value of 42 and a blue value of 157.
In CMYK color space (used in color printing), #642a9d hex color is composed of 36.31% cyan, 73.25% magenta, 0% yellow and 38.43% black.
#642a9d color has a hue of 270.3 degrees, a saturation of 57.79% and a lightness of 39%.
#642a9d hex color contains mainly BLUE.
The closest web safe color of #642a9d is #663399
#642a9d hex color has a decimal value of 6564509.
HEX | 642a9d | #642a9d |
---|---|---|
RGB | 100, 42, 157 | rgb(100, 42, 157) |
RGB Percent | 39.22, 16.47, 61.57 | rgb(39.22, 16.47, 61.57) |
CMYK | 36, 73, 0, 38 | |
HSL | 270.3°, 57.79, 39 | hsl(270.3, 57.79%, 39%) |
HSV | 270.3°, 73.2, 61.6 |
XYZ | 12.169, 6.8, 32.569 |
---|---|
Hunter Lab | 26.077, 37.664, -55.797 |
CIE-LAB | 31.347, 47.922, -52.122 |
CIE-LCH | 31.347, 70.804, 312.596 |
CIE-LUV | 36.31, 73.25, 0, 38.43 |
Web Safe | 663399 |
RGB percent of color #642a9d
CMYK percent of color #642a9d
Text with hexadecimal color #642a9d
This text has a font color of #642a9d
<p style="color:#642a9d">Text here</p>
#642a9d Background Color
This box has a background color of #642a9d
<div style="background-color:#642a9d">Text here</div>
#642a9d Border Color
This box has a border color of #642a9d
<div style="border: 4px solid #642a9d">Text here</div>
CSS codes
<p style="color:#642a9d">Text here</p>
<div style="background-color:#642a9d">Text here</div>
<div style="border: 4px solid #642a9d">Text here</div>
#642a9d Color on white background
This is how a font and box color of #642a9d will look
on a white background.
#642a9d Color on black background
This is how a font and box color of #642a9d hex color will look
on a black background.