In RGB color space, #3a1f7b hex color has a red value of 58, a green value of 31 and a blue value of 123.
In CMYK color space (used in color printing), #3a1f7b hex color is composed of 52.85% cyan, 74.8% magenta, 0% yellow and 51.76% black.
#3a1f7b color has a hue of 257.6 degrees, a saturation of 59.74% and a lightness of 30.2%.
#3a1f7b hex color contains mainly BLUE.
The closest web safe color of #3a1f7b is #333366
#3a1f7b hex color has a decimal value of 3809147.
HEX | 3a1f7b | #3a1f7b |
---|---|---|
RGB | 58, 31, 123 | rgb(58, 31, 123) |
RGB Percent | 22.75, 12.16, 48.24 | rgb(22.75, 12.16, 48.24) |
CMYK | 53, 75, 0, 52 | |
HSL | 257.6°, 59.74, 30.2 | hsl(257.6, 59.74%, 30.2%) |
HSV | 257.6°, 74.8, 48.2 |
XYZ | 5.81, 3.31, 19.071 |
---|---|
Hunter Lab | 18.193, 25.165, -49.415 |
CIE-LAB | 21.245, 36.424, -47.686 |
CIE-LCH | 21.245, 60.006, 307.374 |
CIE-LUV | 52.85, 74.8, 0, 51.76 |
Web Safe | 333366 |
RGB percent of color #3a1f7b
CMYK percent of color #3a1f7b
Text with hexadecimal color #3a1f7b
This text has a font color of #3a1f7b
<p style="color:#3a1f7b">Text here</p>
#3a1f7b Background Color
This box has a background color of #3a1f7b
<div style="background-color:#3a1f7b">Text here</div>
#3a1f7b Border Color
This box has a border color of #3a1f7b
<div style="border: 4px solid #3a1f7b">Text here</div>
CSS codes
<p style="color:#3a1f7b">Text here</p>
<div style="background-color:#3a1f7b">Text here</div>
<div style="border: 4px solid #3a1f7b">Text here</div>
#3a1f7b Color on white background
This is how a font and box color of #3a1f7b will look
on a white background.
#3a1f7b Color on black background
This is how a font and box color of #3a1f7b hex color will look
on a black background.