In RGB color space, #642f9e hex color has a red value of 100, a green value of 47 and a blue value of 158.
In CMYK color space (used in color printing), #642f9e hex color is composed of 36.71% cyan, 70.25% magenta, 0% yellow and 38.04% black.
#642f9e color has a hue of 268.6 degrees, a saturation of 54.15% and a lightness of 40.2%.
#642f9e hex color contains mainly BLUE.
The closest web safe color of #642f9e is #663399
#642f9e hex color has a decimal value of 6565790.
HEX | 642f9e | #642f9e |
---|---|---|
RGB | 100, 47, 158 | rgb(100, 47, 158) |
RGB Percent | 39.22, 18.43, 61.96 | rgb(39.22, 18.43, 61.96) |
CMYK | 37, 70, 0, 38 | |
HSL | 268.6°, 54.15, 40.2 | hsl(268.6, 54.15%, 40.2%) |
HSV | 268.6°, 70.3, 62 |
XYZ | 12.444, 7.211, 33.084 |
---|---|
Hunter Lab | 26.853, 35.725, -54.25 |
CIE-LAB | 32.283, 45.775, -51.211 |
CIE-LCH | 32.283, 68.687, 311.792 |
CIE-LUV | 36.71, 70.25, 0, 38.04 |
Web Safe | 663399 |
RGB percent of color #642f9e
CMYK percent of color #642f9e
Text with hexadecimal color #642f9e
This text has a font color of #642f9e
<p style="color:#642f9e">Text here</p>
#642f9e Background Color
This box has a background color of #642f9e
<div style="background-color:#642f9e">Text here</div>
#642f9e Border Color
This box has a border color of #642f9e
<div style="border: 4px solid #642f9e">Text here</div>
CSS codes
<p style="color:#642f9e">Text here</p>
<div style="background-color:#642f9e">Text here</div>
<div style="border: 4px solid #642f9e">Text here</div>
#642f9e Color on white background
This is how a font and box color of #642f9e will look
on a white background.
#642f9e Color on black background
This is how a font and box color of #642f9e hex color will look
on a black background.