In RGB color space, #2a1f61 hex color has a red value of 42, a green value of 31 and a blue value of 97.
In CMYK color space (used in color printing), #2a1f61 hex color is composed of 56.7% cyan, 68.04% magenta, 0% yellow and 61.96% black.
#2a1f61 color has a hue of 250 degrees, a saturation of 51.56% and a lightness of 25.1%.
#2a1f61 hex color contains mainly BLUE.
The closest web safe color of #2a1f61 is #333366
#2a1f61 hex color has a decimal value of 2760545.
HEX | 2a1f61 | #2a1f61 |
---|---|---|
RGB | 42, 31, 97 | rgb(42, 31, 97) |
RGB Percent | 16.47, 12.16, 38.04 | rgb(16.47, 12.16, 38.04) |
CMYK | 57, 68, 0, 62 | |
HSL | 250°, 51.56, 25.1 | hsl(250, 51.56%, 25.1%) |
HSV | 250°, 68, 38 |
XYZ | 3.602, 2.335, 11.57 |
---|---|
Hunter Lab | 15.281, 15.335, -34.196 |
CIE-LAB | 17.155, 25.036, -37.566 |
CIE-LCH | 17.155, 45.144, 303.682 |
CIE-LUV | 56.7, 68.04, 0, 61.96 |
Web Safe | 333366 |
RGB percent of color #2a1f61
CMYK percent of color #2a1f61
Text with hexadecimal color #2a1f61
This text has a font color of #2a1f61
<p style="color:#2a1f61">Text here</p>
#2a1f61 Background Color
This box has a background color of #2a1f61
<div style="background-color:#2a1f61">Text here</div>
#2a1f61 Border Color
This box has a border color of #2a1f61
<div style="border: 4px solid #2a1f61">Text here</div>
CSS codes
<p style="color:#2a1f61">Text here</p>
<div style="background-color:#2a1f61">Text here</div>
<div style="border: 4px solid #2a1f61">Text here</div>
#2a1f61 Color on white background
This is how a font and box color of #2a1f61 will look
on a white background.
#2a1f61 Color on black background
This is how a font and box color of #2a1f61 hex color will look
on a black background.