In RGB color space, #642b9b hex color has a red value of 100, a green value of 43 and a blue value of 155.
In CMYK color space (used in color printing), #642b9b hex color is composed of 35.48% cyan, 72.26% magenta, 0% yellow and 39.22% black.
#642b9b color has a hue of 270.5 degrees, a saturation of 56.57% and a lightness of 38.8%.
#642b9b hex color contains mainly BLUE.
The closest web safe color of #642b9b is #663399
#642b9b hex color has a decimal value of 6564763.
HEX | 642b9b | #642b9b |
---|---|---|
RGB | 100, 43, 155 | rgb(100, 43, 155) |
RGB Percent | 39.22, 16.86, 60.78 | rgb(39.22, 16.86, 60.78) |
CMYK | 35, 72, 0, 39 | |
HSL | 270.5°, 56.57, 38.8 | hsl(270.5, 56.57%, 38.8%) |
HSV | 270.5°, 72.3, 60.8 |
XYZ | 12.036, 6.804, 31.689 |
---|---|
Hunter Lab | 26.084, 36.716, -53.77 |
CIE-LAB | 31.356, 46.961, -50.891 |
CIE-LCH | 31.356, 69.248, 312.7 |
CIE-LUV | 35.48, 72.26, 0, 39.22 |
Web Safe | 663399 |
RGB percent of color #642b9b
CMYK percent of color #642b9b
Text with hexadecimal color #642b9b
This text has a font color of #642b9b
<p style="color:#642b9b">Text here</p>
#642b9b Background Color
This box has a background color of #642b9b
<div style="background-color:#642b9b">Text here</div>
#642b9b Border Color
This box has a border color of #642b9b
<div style="border: 4px solid #642b9b">Text here</div>
CSS codes
<p style="color:#642b9b">Text here</p>
<div style="background-color:#642b9b">Text here</div>
<div style="border: 4px solid #642b9b">Text here</div>
#642b9b Color on white background
This is how a font and box color of #642b9b will look
on a white background.
#642b9b Color on black background
This is how a font and box color of #642b9b hex color will look
on a black background.