In RGB color space, #3a1f99 hex color has a red value of 58, a green value of 31 and a blue value of 153.
In CMYK color space (used in color printing), #3a1f99 hex color is composed of 62.09% cyan, 79.74% magenta, 0% yellow and 40% black.
#3a1f99 color has a hue of 253.3 degrees, a saturation of 66.3% and a lightness of 36.1%.
#3a1f99 hex color contains mainly BLUE.
The closest web safe color of #3a1f99 is #333399
#3a1f99 hex color has a decimal value of 3809177.
HEX | 3a1f99 | #3a1f99 |
---|---|---|
RGB | 58, 31, 153 | rgb(58, 31, 153) |
RGB Percent | 22.75, 12.16, 60 | rgb(22.75, 12.16, 60) |
CMYK | 62, 80, 0, 40 | |
HSL | 253.3°, 66.3, 36.1 | hsl(253.3, 66.3%, 36.1%) |
HSV | 253.3°, 79.7, 60 |
XYZ | 7.985, 4.179, 30.523 |
---|---|
Hunter Lab | 20.443, 33.949, -74.217 |
CIE-LAB | 24.255, 45.474, -61.489 |
CIE-LCH | 24.255, 76.477, 306.485 |
CIE-LUV | 62.09, 79.74, 0, 40 |
Web Safe | 333399 |
RGB percent of color #3a1f99
CMYK percent of color #3a1f99
Text with hexadecimal color #3a1f99
This text has a font color of #3a1f99
<p style="color:#3a1f99">Text here</p>
#3a1f99 Background Color
This box has a background color of #3a1f99
<div style="background-color:#3a1f99">Text here</div>
#3a1f99 Border Color
This box has a border color of #3a1f99
<div style="border: 4px solid #3a1f99">Text here</div>
CSS codes
<p style="color:#3a1f99">Text here</p>
<div style="background-color:#3a1f99">Text here</div>
<div style="border: 4px solid #3a1f99">Text here</div>
#3a1f99 Color on white background
This is how a font and box color of #3a1f99 will look
on a white background.
#3a1f99 Color on black background
This is how a font and box color of #3a1f99 hex color will look
on a black background.