In RGB color space, #642d8c hex color has a red value of 100, a green value of 45 and a blue value of 140.
In CMYK color space (used in color printing), #642d8c hex color is composed of 28.57% cyan, 67.86% magenta, 0% yellow and 45.1% black.
#642d8c color has a hue of 274.7 degrees, a saturation of 51.35% and a lightness of 36.3%.
#642d8c hex color contains mainly BLUE.
The closest web safe color of #642d8c is #663399
#642d8c hex color has a decimal value of 6565260.
HEX | 642d8c | #642d8c |
---|---|---|
RGB | 100, 45, 140 | rgb(100, 45, 140) |
RGB Percent | 39.22, 17.65, 54.9 | rgb(39.22, 17.65, 54.9) |
CMYK | 29, 68, 0, 45 | |
HSL | 274.7°, 51.35, 36.3 | hsl(274.7, 51.35%, 36.3%) |
HSV | 274.7°, 67.9, 54.9 |
XYZ | 10.928, 6.48, 25.486 |
---|---|
Hunter Lab | 25.456, 32.081, -41.541 |
CIE-LAB | 30.593, 42.299, -42.925 |
CIE-LCH | 30.593, 60.264, 314.579 |
CIE-LUV | 28.57, 67.86, 0, 45.1 |
Web Safe | 663399 |
RGB percent of color #642d8c
CMYK percent of color #642d8c
Text with hexadecimal color #642d8c
This text has a font color of #642d8c
<p style="color:#642d8c">Text here</p>
#642d8c Background Color
This box has a background color of #642d8c
<div style="background-color:#642d8c">Text here</div>
#642d8c Border Color
This box has a border color of #642d8c
<div style="border: 4px solid #642d8c">Text here</div>
CSS codes
<p style="color:#642d8c">Text here</p>
<div style="background-color:#642d8c">Text here</div>
<div style="border: 4px solid #642d8c">Text here</div>
#642d8c Color on white background
This is how a font and box color of #642d8c will look
on a white background.
#642d8c Color on black background
This is how a font and box color of #642d8c hex color will look
on a black background.