In RGB color space, #2a1551 hex color has a red value of 42, a green value of 21 and a blue value of 81.
In CMYK color space (used in color printing), #2a1551 hex color is composed of 48.15% cyan, 74.07% magenta, 0% yellow and 68.24% black.
#2a1551 color has a hue of 261 degrees, a saturation of 58.82% and a lightness of 20%.
#2a1551 hex color contains mainly BLUE.
The closest web safe color of #2a1551 is #330066
#2a1551 hex color has a decimal value of 2757969.
HEX | 2a1551 | #2a1551 |
---|---|---|
RGB | 42, 21, 81 | rgb(42, 21, 81) |
RGB Percent | 16.47, 8.24, 31.76 | rgb(16.47, 8.24, 31.76) |
CMYK | 48, 74, 0, 68 | |
HSL | 261°, 58.82, 20 | hsl(261, 58.82%, 20%) |
HSV | 261°, 74.1, 31.8 |
XYZ | 2.708, 1.623, 7.955 |
---|---|
Hunter Lab | 12.74, 15.648, -28.104 |
CIE-LAB | 13.37, 26.119, -32.973 |
CIE-LCH | 13.37, 42.064, 308.384 |
CIE-LUV | 48.15, 74.07, 0, 68.24 |
Web Safe | 330066 |
RGB percent of color #2a1551
CMYK percent of color #2a1551
Text with hexadecimal color #2a1551
This text has a font color of #2a1551
<p style="color:#2a1551">Text here</p>
#2a1551 Background Color
This box has a background color of #2a1551
<div style="background-color:#2a1551">Text here</div>
#2a1551 Border Color
This box has a border color of #2a1551
<div style="border: 4px solid #2a1551">Text here</div>
CSS codes
<p style="color:#2a1551">Text here</p>
<div style="background-color:#2a1551">Text here</div>
<div style="border: 4px solid #2a1551">Text here</div>
#2a1551 Color on white background
This is how a font and box color of #2a1551 will look
on a white background.
#2a1551 Color on black background
This is how a font and box color of #2a1551 hex color will look
on a black background.