In RGB color space, #7f42c1 hex color has a red value of 127, a green value of 66 and a blue value of 193.
In CMYK color space (used in color printing), #7f42c1 hex color is composed of 34.2% cyan, 65.8% magenta, 0% yellow and 24.31% black.
#7f42c1 color has a hue of 268.8 degrees, a saturation of 50.6% and a lightness of 50.8%.
#7f42c1 hex color contains mainly BLUE.
The closest web safe color of #7f42c1 is #6633cc
#7f42c1 hex color has a decimal value of 8340161.
HEX | 7f42c1 | #7f42c1 |
---|---|---|
RGB | 127, 66, 193 | rgb(127, 66, 193) |
RGB Percent | 49.8, 25.88, 75.69 | rgb(49.8, 25.88, 75.69) |
CMYK | 34, 66, 0, 24 | |
HSL | 268.8°, 50.6, 50.8 | hsl(268.8, 50.6%, 50.8%) |
HSV | 268.8°, 65.8, 75.7 |
XYZ | 20.326, 12.259, 51.747 |
---|---|
Hunter Lab | 35.013, 42.352, -63.118 |
CIE-LAB | 41.625, 50.619, -56.724 |
CIE-LCH | 41.625, 76.026, 311.745 |
CIE-LUV | 34.2, 65.8, 0, 24.31 |
Web Safe | 6633cc |
RGB percent of color #7f42c1
CMYK percent of color #7f42c1
Text with hexadecimal color #7f42c1
This text has a font color of #7f42c1
<p style="color:#7f42c1">Text here</p>
#7f42c1 Background Color
This box has a background color of #7f42c1
<div style="background-color:#7f42c1">Text here</div>
#7f42c1 Border Color
This box has a border color of #7f42c1
<div style="border: 4px solid #7f42c1">Text here</div>
CSS codes
<p style="color:#7f42c1">Text here</p>
<div style="background-color:#7f42c1">Text here</div>
<div style="border: 4px solid #7f42c1">Text here</div>
#7f42c1 Color on white background
This is how a font and box color of #7f42c1 will look
on a white background.
#7f42c1 Color on black background
This is how a font and box color of #7f42c1 hex color will look
on a black background.