In RGB color space, #642ab1 hex color has a red value of 100, a green value of 42 and a blue value of 177.
In CMYK color space (used in color printing), #642ab1 hex color is composed of 43.5% cyan, 76.27% magenta, 0% yellow and 30.59% black.
#642ab1 color has a hue of 265.8 degrees, a saturation of 61.64% and a lightness of 42.9%.
#642ab1 hex color contains mainly BLUE.
The closest web safe color of #642ab1 is #663399
#642ab1 hex color has a decimal value of 6564529.
HEX | 642ab1 | #642ab1 |
---|---|---|
RGB | 100, 42, 177 | rgb(100, 42, 177) |
RGB Percent | 39.22, 16.47, 69.41 | rgb(39.22, 16.47, 69.41) |
CMYK | 44, 76, 0, 31 | |
HSL | 265.8°, 61.64, 42.9 | hsl(265.8, 61.64%, 42.9%) |
HSV | 265.8°, 76.3, 69.4 |
XYZ | 14.019, 7.54, 42.311 |
---|---|
Hunter Lab | 27.459, 43.078, -72.137 |
CIE-LAB | 33.006, 52.945, -61.454 |
CIE-LCH | 33.006, 81.116, 310.746 |
CIE-LUV | 43.5, 76.27, 0, 30.59 |
Web Safe | 663399 |
RGB percent of color #642ab1
CMYK percent of color #642ab1
Text with hexadecimal color #642ab1
This text has a font color of #642ab1
<p style="color:#642ab1">Text here</p>
#642ab1 Background Color
This box has a background color of #642ab1
<div style="background-color:#642ab1">Text here</div>
#642ab1 Border Color
This box has a border color of #642ab1
<div style="border: 4px solid #642ab1">Text here</div>
CSS codes
<p style="color:#642ab1">Text here</p>
<div style="background-color:#642ab1">Text here</div>
<div style="border: 4px solid #642ab1">Text here</div>
#642ab1 Color on white background
This is how a font and box color of #642ab1 will look
on a white background.
#642ab1 Color on black background
This is how a font and box color of #642ab1 hex color will look
on a black background.