In RGB color space, #3a1f8d hex color has a red value of 58, a green value of 31 and a blue value of 141.
In CMYK color space (used in color printing), #3a1f8d hex color is composed of 58.87% cyan, 78.01% magenta, 0% yellow and 44.71% black.
#3a1f8d color has a hue of 254.7 degrees, a saturation of 63.95% and a lightness of 33.7%.
#3a1f8d hex color contains mainly BLUE.
The closest web safe color of #3a1f8d is #333399
#3a1f8d hex color has a decimal value of 3809165.
HEX | 3a1f8d | #3a1f8d |
---|---|---|
RGB | 58, 31, 141 | rgb(58, 31, 141) |
RGB Percent | 22.75, 12.16, 55.29 | rgb(22.75, 12.16, 55.29) |
CMYK | 59, 78, 0, 45 | |
HSL | 254.7°, 63.95, 33.7 | hsl(254.7, 63.95%, 33.7%) |
HSV | 254.7°, 78, 55.3 |
XYZ | 7.043, 3.803, 25.562 |
---|---|
Hunter Lab | 19.501, 30.339, -64.066 |
CIE-LAB | 23.009, 41.869, -56.122 |
CIE-LCH | 23.009, 70.019, 306.724 |
CIE-LUV | 58.87, 78.01, 0, 44.71 |
Web Safe | 333399 |
RGB percent of color #3a1f8d
CMYK percent of color #3a1f8d
Text with hexadecimal color #3a1f8d
This text has a font color of #3a1f8d
<p style="color:#3a1f8d">Text here</p>
#3a1f8d Background Color
This box has a background color of #3a1f8d
<div style="background-color:#3a1f8d">Text here</div>
#3a1f8d Border Color
This box has a border color of #3a1f8d
<div style="border: 4px solid #3a1f8d">Text here</div>
CSS codes
<p style="color:#3a1f8d">Text here</p>
<div style="background-color:#3a1f8d">Text here</div>
<div style="border: 4px solid #3a1f8d">Text here</div>
#3a1f8d Color on white background
This is how a font and box color of #3a1f8d will look
on a white background.
#3a1f8d Color on black background
This is how a font and box color of #3a1f8d hex color will look
on a black background.