In RGB color space, #3a1f7e hex color has a red value of 58, a green value of 31 and a blue value of 126.
In CMYK color space (used in color printing), #3a1f7e hex color is composed of 53.97% cyan, 75.4% magenta, 0% yellow and 50.59% black.
#3a1f7e color has a hue of 257.1 degrees, a saturation of 60.51% and a lightness of 30.8%.
#3a1f7e hex color contains mainly BLUE.
The closest web safe color of #3a1f7e is #333366
#3a1f7e hex color has a decimal value of 3809150.
HEX | 3a1f7e | #3a1f7e |
---|---|---|
RGB | 58, 31, 126 | rgb(58, 31, 126) |
RGB Percent | 22.75, 12.16, 49.41 | rgb(22.75, 12.16, 49.41) |
CMYK | 54, 75, 0, 51 | |
HSL | 257.1°, 60.51, 30.8 | hsl(257.1, 60.51%, 30.8%) |
HSV | 257.1°, 75.4, 49.4 |
XYZ | 6.001, 3.386, 20.076 |
---|---|
Hunter Lab | 18.401, 26.011, -51.806 |
CIE-LAB | 21.528, 37.339, -49.13 |
CIE-LCH | 21.528, 61.709, 307.235 |
CIE-LUV | 53.97, 75.4, 0, 50.59 |
Web Safe | 333366 |
RGB percent of color #3a1f7e
CMYK percent of color #3a1f7e
Text with hexadecimal color #3a1f7e
This text has a font color of #3a1f7e
<p style="color:#3a1f7e">Text here</p>
#3a1f7e Background Color
This box has a background color of #3a1f7e
<div style="background-color:#3a1f7e">Text here</div>
#3a1f7e Border Color
This box has a border color of #3a1f7e
<div style="border: 4px solid #3a1f7e">Text here</div>
CSS codes
<p style="color:#3a1f7e">Text here</p>
<div style="background-color:#3a1f7e">Text here</div>
<div style="border: 4px solid #3a1f7e">Text here</div>
#3a1f7e Color on white background
This is how a font and box color of #3a1f7e will look
on a white background.
#3a1f7e Color on black background
This is how a font and box color of #3a1f7e hex color will look
on a black background.