In RGB color space, #3a1f7f hex color has a red value of 58, a green value of 31 and a blue value of 127.
In CMYK color space (used in color printing), #3a1f7f hex color is composed of 54.33% cyan, 75.59% magenta, 0% yellow and 50.2% black.
#3a1f7f color has a hue of 256.9 degrees, a saturation of 60.76% and a lightness of 31%.
#3a1f7f hex color contains mainly BLUE.
The closest web safe color of #3a1f7f is #333366
#3a1f7f hex color has a decimal value of 3809151.
HEX | 3a1f7f | #3a1f7f |
---|---|---|
RGB | 58, 31, 127 | rgb(58, 31, 127) |
RGB Percent | 22.75, 12.16, 49.8 | rgb(22.75, 12.16, 49.8) |
CMYK | 54, 76, 0, 50 | |
HSL | 256.9°, 60.76, 31 | hsl(256.9, 60.76%, 31%) |
HSV | 256.9°, 75.6, 49.8 |
XYZ | 6.066, 3.412, 20.418 |
---|---|
Hunter Lab | 18.472, 26.293, -52.607 |
CIE-LAB | 21.624, 37.642, -49.608 |
CIE-LCH | 21.624, 62.273, 307.191 |
CIE-LUV | 54.33, 75.59, 0, 50.2 |
Web Safe | 333366 |
RGB percent of color #3a1f7f
CMYK percent of color #3a1f7f
Text with hexadecimal color #3a1f7f
This text has a font color of #3a1f7f
<p style="color:#3a1f7f">Text here</p>
#3a1f7f Background Color
This box has a background color of #3a1f7f
<div style="background-color:#3a1f7f">Text here</div>
#3a1f7f Border Color
This box has a border color of #3a1f7f
<div style="border: 4px solid #3a1f7f">Text here</div>
CSS codes
<p style="color:#3a1f7f">Text here</p>
<div style="background-color:#3a1f7f">Text here</div>
<div style="border: 4px solid #3a1f7f">Text here</div>
#3a1f7f Color on white background
This is how a font and box color of #3a1f7f will look
on a white background.
#3a1f7f Color on black background
This is how a font and box color of #3a1f7f hex color will look
on a black background.