In RGB color space, #5a1286 hex color has a red value of 90, a green value of 18 and a blue value of 134.
In CMYK color space (used in color printing), #5a1286 hex color is composed of 32.84% cyan, 86.57% magenta, 0% yellow and 47.45% black.
#5a1286 color has a hue of 277.2 degrees, a saturation of 76.32% and a lightness of 29.8%.
#5a1286 hex color contains mainly BLUE.
The closest web safe color of #5a1286 is #660099
#5a1286 hex color has a decimal value of 5902982.
HEX | 5a1286 | #5a1286 |
---|---|---|
RGB | 90, 18, 134 | rgb(90, 18, 134) |
RGB Percent | 35.29, 7.06, 52.55 | rgb(35.29, 7.06, 52.55) |
CMYK | 33, 87, 0, 47 | |
HSL | 277.2°, 76.32, 29.8 | hsl(277.2, 76.32%, 29.8%) |
HSV | 277.2°, 86.6, 52.5 |
XYZ | 8.736, 4.328, 22.929 |
---|---|
Hunter Lab | 20.804, 38.549, -50.784 |
CIE-LAB | 24.727, 50.097, -48.769 |
CIE-LCH | 24.727, 69.915, 315.77 |
CIE-LUV | 32.84, 86.57, 0, 47.45 |
Web Safe | 660099 |
RGB percent of color #5a1286
CMYK percent of color #5a1286
Text with hexadecimal color #5a1286
This text has a font color of #5a1286
<p style="color:#5a1286">Text here</p>
#5a1286 Background Color
This box has a background color of #5a1286
<div style="background-color:#5a1286">Text here</div>
#5a1286 Border Color
This box has a border color of #5a1286
<div style="border: 4px solid #5a1286">Text here</div>
CSS codes
<p style="color:#5a1286">Text here</p>
<div style="background-color:#5a1286">Text here</div>
<div style="border: 4px solid #5a1286">Text here</div>
#5a1286 Color on white background
This is how a font and box color of #5a1286 will look
on a white background.
#5a1286 Color on black background
This is how a font and box color of #5a1286 hex color will look
on a black background.