In RGB color space, #7f42ca hex color has a red value of 127, a green value of 66 and a blue value of 202.
In CMYK color space (used in color printing), #7f42ca hex color is composed of 37.13% cyan, 67.33% magenta, 0% yellow and 20.78% black.
#7f42ca color has a hue of 266.9 degrees, a saturation of 56.2% and a lightness of 52.5%.
#7f42ca hex color contains mainly BLUE.
The closest web safe color of #7f42ca is #6633cc
#7f42ca hex color has a decimal value of 8340170.
HEX | 7f42ca | #7f42ca |
---|---|---|
RGB | 127, 66, 202 | rgb(127, 66, 202) |
RGB Percent | 49.8, 25.88, 79.22 | rgb(49.8, 25.88, 79.22) |
CMYK | 37, 67, 0, 21 | |
HSL | 266.9°, 56.2, 52.5 | hsl(266.9, 56.2%, 52.5%) |
HSV | 266.9°, 67.3, 79.2 |
XYZ | 21.361, 12.673, 57.197 |
---|---|
Hunter Lab | 35.599, 44.809, -70.342 |
CIE-LAB | 42.266, 52.846, -60.915 |
CIE-LCH | 42.266, 80.643, 310.943 |
CIE-LUV | 37.13, 67.33, 0, 20.78 |
Web Safe | 6633cc |
RGB percent of color #7f42ca
CMYK percent of color #7f42ca
Text with hexadecimal color #7f42ca
This text has a font color of #7f42ca
<p style="color:#7f42ca">Text here</p>
#7f42ca Background Color
This box has a background color of #7f42ca
<div style="background-color:#7f42ca">Text here</div>
#7f42ca Border Color
This box has a border color of #7f42ca
<div style="border: 4px solid #7f42ca">Text here</div>
CSS codes
<p style="color:#7f42ca">Text here</p>
<div style="background-color:#7f42ca">Text here</div>
<div style="border: 4px solid #7f42ca">Text here</div>
#7f42ca Color on white background
This is how a font and box color of #7f42ca will look
on a white background.
#7f42ca Color on black background
This is how a font and box color of #7f42ca hex color will look
on a black background.