In RGB color space, #642d7e hex color has a red value of 100, a green value of 45 and a blue value of 126.
In CMYK color space (used in color printing), #642d7e hex color is composed of 20.63% cyan, 64.29% magenta, 0% yellow and 50.59% black.
#642d7e color has a hue of 280.7 degrees, a saturation of 47.37% and a lightness of 33.5%.
#642d7e hex color contains mainly BLUE.
The closest web safe color of #642d7e is #663366
#642d7e hex color has a decimal value of 6565246.
HEX | 642d7e | #642d7e |
---|---|---|
RGB | 100, 45, 126 | rgb(100, 45, 126) |
RGB Percent | 39.22, 17.65, 49.41 | rgb(39.22, 17.65, 49.41) |
CMYK | 21, 64, 0, 51 | |
HSL | 280.7°, 47.37, 33.5 | hsl(280.7, 47.37%, 33.5%) |
HSV | 280.7°, 64.3, 49.4 |
XYZ | 9.96, 6.092, 20.39 |
---|---|
Hunter Lab | 24.682, 28.837, -31.703 |
CIE-LAB | 29.643, 38.989, -35.728 |
CIE-LCH | 29.643, 52.883, 317.499 |
CIE-LUV | 20.63, 64.29, 0, 50.59 |
Web Safe | 663366 |
RGB percent of color #642d7e
CMYK percent of color #642d7e
Text with hexadecimal color #642d7e
This text has a font color of #642d7e
<p style="color:#642d7e">Text here</p>
#642d7e Background Color
This box has a background color of #642d7e
<div style="background-color:#642d7e">Text here</div>
#642d7e Border Color
This box has a border color of #642d7e
<div style="border: 4px solid #642d7e">Text here</div>
CSS codes
<p style="color:#642d7e">Text here</p>
<div style="background-color:#642d7e">Text here</div>
<div style="border: 4px solid #642d7e">Text here</div>
#642d7e Color on white background
This is how a font and box color of #642d7e will look
on a white background.
#642d7e Color on black background
This is how a font and box color of #642d7e hex color will look
on a black background.