In RGB color space, #7f40b4 hex color has a red value of 127, a green value of 64 and a blue value of 180.
In CMYK color space (used in color printing), #7f40b4 hex color is composed of 29.44% cyan, 64.44% magenta, 0% yellow and 29.41% black.
#7f40b4 color has a hue of 272.6 degrees, a saturation of 47.54% and a lightness of 47.8%.
#7f40b4 hex color contains mainly BLUE.
The closest web safe color of #7f40b4 is #6633cc
#7f40b4 hex color has a decimal value of 8339636.
HEX | 7f40b4 | #7f40b4 |
---|---|---|
RGB | 127, 64, 180 | rgb(127, 64, 180) |
RGB Percent | 49.8, 25.1, 70.59 | rgb(49.8, 25.1, 70.59) |
CMYK | 29, 64, 0, 29 | |
HSL | 272.6°, 47.54, 47.8 | hsl(272.6, 47.54%, 47.8%) |
HSV | 272.6°, 64.4, 70.6 |
XYZ | 18.824, 11.474, 44.403 |
---|---|
Hunter Lab | 33.873, 39.917, -54.009 |
CIE-LAB | 40.368, 48.484, -51.128 |
CIE-LCH | 40.368, 70.461, 313.48 |
CIE-LUV | 29.44, 64.44, 0, 29.41 |
Web Safe | 6633cc |
RGB percent of color #7f40b4
CMYK percent of color #7f40b4
Text with hexadecimal color #7f40b4
This text has a font color of #7f40b4
<p style="color:#7f40b4">Text here</p>
#7f40b4 Background Color
This box has a background color of #7f40b4
<div style="background-color:#7f40b4">Text here</div>
#7f40b4 Border Color
This box has a border color of #7f40b4
<div style="border: 4px solid #7f40b4">Text here</div>
CSS codes
<p style="color:#7f40b4">Text here</p>
<div style="background-color:#7f40b4">Text here</div>
<div style="border: 4px solid #7f40b4">Text here</div>
#7f40b4 Color on white background
This is how a font and box color of #7f40b4 will look
on a white background.
#7f40b4 Color on black background
This is how a font and box color of #7f40b4 hex color will look
on a black background.