In RGB color space, #3a1797 hex color has a red value of 58, a green value of 23 and a blue value of 151.
In CMYK color space (used in color printing), #3a1797 hex color is composed of 61.59% cyan, 84.77% magenta, 0% yellow and 40.78% black.
#3a1797 color has a hue of 256.4 degrees, a saturation of 73.56% and a lightness of 34.1%.
#3a1797 hex color contains mainly BLUE.
The closest web safe color of #3a1797 is #330099
#3a1797 hex color has a decimal value of 3807127.
HEX | 3a1797 | #3a1797 |
---|---|---|
RGB | 58, 23, 151 | rgb(58, 23, 151) |
RGB Percent | 22.75, 9.02, 59.22 | rgb(22.75, 9.02, 59.22) |
CMYK | 62, 85, 0, 41 | |
HSL | 256.4°, 73.56, 34.1 | hsl(256.4, 73.56%, 34.1%) |
HSV | 256.4°, 84.8, 59.2 |
XYZ | 7.637, 3.747, 29.599 |
---|---|
Hunter Lab | 19.357, 36.549, -77.11 |
CIE-LAB | 22.817, 48.443, -62.634 |
CIE-LCH | 22.817, 79.182, 307.719 |
CIE-LUV | 61.59, 84.77, 0, 40.78 |
Web Safe | 330099 |
RGB percent of color #3a1797
CMYK percent of color #3a1797
Text with hexadecimal color #3a1797
This text has a font color of #3a1797
<p style="color:#3a1797">Text here</p>
#3a1797 Background Color
This box has a background color of #3a1797
<div style="background-color:#3a1797">Text here</div>
#3a1797 Border Color
This box has a border color of #3a1797
<div style="border: 4px solid #3a1797">Text here</div>
CSS codes
<p style="color:#3a1797">Text here</p>
<div style="background-color:#3a1797">Text here</div>
<div style="border: 4px solid #3a1797">Text here</div>
#3a1797 Color on white background
This is how a font and box color of #3a1797 will look
on a white background.
#3a1797 Color on black background
This is how a font and box color of #3a1797 hex color will look
on a black background.