In RGB color space, #642fa2 hex color has a red value of 100, a green value of 47 and a blue value of 162.
In CMYK color space (used in color printing), #642fa2 hex color is composed of 38.27% cyan, 70.99% magenta, 0% yellow and 36.47% black.
#642fa2 color has a hue of 267.7 degrees, a saturation of 55.02% and a lightness of 41%.
#642fa2 hex color contains mainly BLUE.
The closest web safe color of #642fa2 is #663399
#642fa2 hex color has a decimal value of 6565794.
HEX | 642fa2 | #642fa2 |
---|---|---|
RGB | 100, 47, 162 | rgb(100, 47, 162) |
RGB Percent | 39.22, 18.43, 63.53 | rgb(39.22, 18.43, 63.53) |
CMYK | 38, 71, 0, 36 | |
HSL | 267.7°, 55.02, 41 | hsl(267.7, 55.02%, 41%) |
HSV | 267.7°, 71, 63.5 |
XYZ | 12.794, 7.351, 34.927 |
---|---|
Hunter Lab | 27.113, 36.784, -57.399 |
CIE-LAB | 32.593, 46.795, -53.128 |
CIE-LCH | 32.593, 70.798, 311.374 |
CIE-LUV | 38.27, 70.99, 0, 36.47 |
Web Safe | 663399 |
RGB percent of color #642fa2
CMYK percent of color #642fa2
Text with hexadecimal color #642fa2
This text has a font color of #642fa2
<p style="color:#642fa2">Text here</p>
#642fa2 Background Color
This box has a background color of #642fa2
<div style="background-color:#642fa2">Text here</div>
#642fa2 Border Color
This box has a border color of #642fa2
<div style="border: 4px solid #642fa2">Text here</div>
CSS codes
<p style="color:#642fa2">Text here</p>
<div style="background-color:#642fa2">Text here</div>
<div style="border: 4px solid #642fa2">Text here</div>
#642fa2 Color on white background
This is how a font and box color of #642fa2 will look
on a white background.
#642fa2 Color on black background
This is how a font and box color of #642fa2 hex color will look
on a black background.