In RGB color space, #3a1f8b hex color has a red value of 58, a green value of 31 and a blue value of 139.
In CMYK color space (used in color printing), #3a1f8b hex color is composed of 58.27% cyan, 77.7% magenta, 0% yellow and 45.49% black.
#3a1f8b color has a hue of 255 degrees, a saturation of 63.53% and a lightness of 33.3%.
#3a1f8b hex color contains mainly BLUE.
The closest web safe color of #3a1f8b is #333399
#3a1f8b hex color has a decimal value of 3809163.
HEX | 3a1f8b | #3a1f8b |
---|---|---|
RGB | 58, 31, 139 | rgb(58, 31, 139) |
RGB Percent | 22.75, 12.16, 54.51 | rgb(22.75, 12.16, 54.51) |
CMYK | 58, 78, 0, 45 | |
HSL | 255°, 63.53, 33.3 | hsl(255, 63.53%, 33.3%) |
HSV | 255°, 77.7, 54.5 |
XYZ | 6.895, 3.744, 24.785 |
---|---|
Hunter Lab | 19.349, 29.745, -62.401 |
CIE-LAB | 22.806, 41.261, -55.209 |
CIE-LCH | 22.806, 68.924, 306.773 |
CIE-LUV | 58.27, 77.7, 0, 45.49 |
Web Safe | 333399 |
RGB percent of color #3a1f8b
CMYK percent of color #3a1f8b
Text with hexadecimal color #3a1f8b
This text has a font color of #3a1f8b
<p style="color:#3a1f8b">Text here</p>
#3a1f8b Background Color
This box has a background color of #3a1f8b
<div style="background-color:#3a1f8b">Text here</div>
#3a1f8b Border Color
This box has a border color of #3a1f8b
<div style="border: 4px solid #3a1f8b">Text here</div>
CSS codes
<p style="color:#3a1f8b">Text here</p>
<div style="background-color:#3a1f8b">Text here</div>
<div style="border: 4px solid #3a1f8b">Text here</div>
#3a1f8b Color on white background
This is how a font and box color of #3a1f8b will look
on a white background.
#3a1f8b Color on black background
This is how a font and box color of #3a1f8b hex color will look
on a black background.