In RGB color space, #3a1f9a hex color has a red value of 58, a green value of 31 and a blue value of 154.
In CMYK color space (used in color printing), #3a1f9a hex color is composed of 62.34% cyan, 79.87% magenta, 0% yellow and 39.61% black.
#3a1f9a color has a hue of 253.2 degrees, a saturation of 66.49% and a lightness of 36.3%.
#3a1f9a hex color contains mainly BLUE.
The closest web safe color of #3a1f9a is #333399
#3a1f9a hex color has a decimal value of 3809178.
HEX | 3a1f9a | #3a1f9a |
---|---|---|
RGB | 58, 31, 154 | rgb(58, 31, 154) |
RGB Percent | 22.75, 12.16, 60.39 | rgb(22.75, 12.16, 60.39) |
CMYK | 62, 80, 0, 40 | |
HSL | 253.2°, 66.49, 36.3 | hsl(253.2, 66.49%, 36.3%) |
HSV | 253.2°, 79.9, 60.4 |
XYZ | 8.068, 4.213, 30.96 |
---|---|
Hunter Lab | 20.526, 34.243, -75.063 |
CIE-LAB | 24.363, 45.761, -61.923 |
CIE-LCH | 24.363, 76.997, 306.464 |
CIE-LUV | 62.34, 79.87, 0, 39.61 |
Web Safe | 333399 |
RGB percent of color #3a1f9a
CMYK percent of color #3a1f9a
Text with hexadecimal color #3a1f9a
This text has a font color of #3a1f9a
<p style="color:#3a1f9a">Text here</p>
#3a1f9a Background Color
This box has a background color of #3a1f9a
<div style="background-color:#3a1f9a">Text here</div>
#3a1f9a Border Color
This box has a border color of #3a1f9a
<div style="border: 4px solid #3a1f9a">Text here</div>
CSS codes
<p style="color:#3a1f9a">Text here</p>
<div style="background-color:#3a1f9a">Text here</div>
<div style="border: 4px solid #3a1f9a">Text here</div>
#3a1f9a Color on white background
This is how a font and box color of #3a1f9a will look
on a white background.
#3a1f9a Color on black background
This is how a font and box color of #3a1f9a hex color will look
on a black background.