In RGB color space, #3a1f9f hex color has a red value of 58, a green value of 31 and a blue value of 159.
In CMYK color space (used in color printing), #3a1f9f hex color is composed of 63.52% cyan, 80.5% magenta, 0% yellow and 37.65% black.
#3a1f9f color has a hue of 252.7 degrees, a saturation of 67.37% and a lightness of 37.3%.
#3a1f9f hex color contains mainly BLUE.
The closest web safe color of #3a1f9f is #333399
#3a1f9f hex color has a decimal value of 3809183.
HEX | 3a1f9f | #3a1f9f |
---|---|---|
RGB | 58, 31, 159 | rgb(58, 31, 159) |
RGB Percent | 22.75, 12.16, 62.35 | rgb(22.75, 12.16, 62.35) |
CMYK | 64, 81, 0, 38 | |
HSL | 252.7°, 67.37, 37.3 | hsl(252.7, 67.37%, 37.3%) |
HSV | 252.7°, 80.5, 62.4 |
XYZ | 8.493, 4.383, 33.199 |
---|---|
Hunter Lab | 20.936, 35.775, -79.365 |
CIE-LAB | 24.899, 47.245, -64.096 |
CIE-LCH | 24.899, 79.627, 306.394 |
CIE-LUV | 63.52, 80.5, 0, 37.65 |
Web Safe | 333399 |
RGB percent of color #3a1f9f
CMYK percent of color #3a1f9f
Text with hexadecimal color #3a1f9f
This text has a font color of #3a1f9f
<p style="color:#3a1f9f">Text here</p>
#3a1f9f Background Color
This box has a background color of #3a1f9f
<div style="background-color:#3a1f9f">Text here</div>
#3a1f9f Border Color
This box has a border color of #3a1f9f
<div style="border: 4px solid #3a1f9f">Text here</div>
CSS codes
<p style="color:#3a1f9f">Text here</p>
<div style="background-color:#3a1f9f">Text here</div>
<div style="border: 4px solid #3a1f9f">Text here</div>
#3a1f9f Color on white background
This is how a font and box color of #3a1f9f will look
on a white background.
#3a1f9f Color on black background
This is how a font and box color of #3a1f9f hex color will look
on a black background.