In RGB color space, #2a1b57 hex color has a red value of 42, a green value of 27 and a blue value of 87.
In CMYK color space (used in color printing), #2a1b57 hex color is composed of 51.72% cyan, 68.97% magenta, 0% yellow and 65.88% black.
#2a1b57 color has a hue of 255 degrees, a saturation of 52.63% and a lightness of 22.4%.
#2a1b57 hex color contains mainly BLUE.
The closest web safe color of #2a1b57 is #333366
#2a1b57 hex color has a decimal value of 2759511.
HEX | 2a1b57 | #2a1b57 |
---|---|---|
RGB | 42, 27, 87 | rgb(42, 27, 87) |
RGB Percent | 16.47, 10.59, 34.12 | rgb(16.47, 10.59, 34.12) |
CMYK | 52, 69, 0, 66 | |
HSL | 255°, 52.63, 22.4 | hsl(255, 52.63%, 22.4%) |
HSV | 255°, 69, 34.1 |
XYZ | 3.067, 1.964, 9.234 |
---|---|
Hunter Lab | 14.014, 14.539, -29.256 |
CIE-LAB | 15.297, 24.281, -33.909 |
CIE-LCH | 15.297, 41.706, 305.605 |
CIE-LUV | 51.72, 68.97, 0, 65.88 |
Web Safe | 333366 |
RGB percent of color #2a1b57
CMYK percent of color #2a1b57
Text with hexadecimal color #2a1b57
This text has a font color of #2a1b57
<p style="color:#2a1b57">Text here</p>
#2a1b57 Background Color
This box has a background color of #2a1b57
<div style="background-color:#2a1b57">Text here</div>
#2a1b57 Border Color
This box has a border color of #2a1b57
<div style="border: 4px solid #2a1b57">Text here</div>
CSS codes
<p style="color:#2a1b57">Text here</p>
<div style="background-color:#2a1b57">Text here</div>
<div style="border: 4px solid #2a1b57">Text here</div>
#2a1b57 Color on white background
This is how a font and box color of #2a1b57 will look
on a white background.
#2a1b57 Color on black background
This is how a font and box color of #2a1b57 hex color will look
on a black background.