In RGB color space, #2a1fa1 hex color has a red value of 42, a green value of 31 and a blue value of 161.
In CMYK color space (used in color printing), #2a1fa1 hex color is composed of 73.91% cyan, 80.75% magenta, 0% yellow and 36.86% black.
#2a1fa1 color has a hue of 245.1 degrees, a saturation of 67.71% and a lightness of 37.6%.
#2a1fa1 hex color contains mainly BLUE.
The closest web safe color of #2a1fa1 is #333399
#2a1fa1 hex color has a decimal value of 2760609.
HEX | 2a1fa1 | #2a1fa1 |
---|---|---|
RGB | 42, 31, 161 | rgb(42, 31, 161) |
RGB Percent | 16.47, 12.16, 63.14 | rgb(16.47, 12.16, 63.14) |
CMYK | 74, 81, 0, 37 | |
HSL | 245.1°, 67.71, 37.6 | hsl(245.1, 67.71%, 37.6%) |
HSV | 245.1°, 80.7, 63.1 |
XYZ | 7.878, 4.045, 34.084 |
---|---|
Hunter Lab | 20.112, 34.723, -86.4 |
CIE-LAB | 23.82, 46.367, -67.143 |
CIE-LCH | 23.82, 81.597, 304.628 |
CIE-LUV | 73.91, 80.75, 0, 36.86 |
Web Safe | 333399 |
RGB percent of color #2a1fa1
CMYK percent of color #2a1fa1
Text with hexadecimal color #2a1fa1
This text has a font color of #2a1fa1
<p style="color:#2a1fa1">Text here</p>
#2a1fa1 Background Color
This box has a background color of #2a1fa1
<div style="background-color:#2a1fa1">Text here</div>
#2a1fa1 Border Color
This box has a border color of #2a1fa1
<div style="border: 4px solid #2a1fa1">Text here</div>
CSS codes
<p style="color:#2a1fa1">Text here</p>
<div style="background-color:#2a1fa1">Text here</div>
<div style="border: 4px solid #2a1fa1">Text here</div>
#2a1fa1 Color on white background
This is how a font and box color of #2a1fa1 will look
on a white background.
#2a1fa1 Color on black background
This is how a font and box color of #2a1fa1 hex color will look
on a black background.