In RGB color space, #5150a1 hex color has a red value of 81, a green value of 80 and a blue value of 161.
In CMYK color space (used in color printing), #5150a1 hex color is composed of 49.69% cyan, 50.31% magenta, 0% yellow and 36.86% black.
#5150a1 color has a hue of 240.7 degrees, a saturation of 33.61% and a lightness of 47.3%.
#5150a1 hex color contains mainly BLUE.
The closest web safe color of #5150a1 is #666699
#5150a1 hex color has a decimal value of 5329057.
HEX | 5150a1 | #5150a1 |
---|---|---|
RGB | 81, 80, 161 | rgb(81, 80, 161) |
RGB Percent | 31.76, 31.37, 63.14 | rgb(31.76, 31.37, 63.14) |
CMYK | 50, 50, 0, 37 | |
HSL | 240.7°, 33.61, 47.3 | hsl(240.7, 33.61%, 47.3%) |
HSV | 240.7°, 50.3, 63.1 |
XYZ | 12.695, 10.06, 34.991 |
---|---|
Hunter Lab | 31.718, 15.939, -43.207 |
CIE-LAB | 37.95, 23.042, -43.975 |
CIE-LCH | 37.95, 49.646, 297.654 |
CIE-LUV | 49.69, 50.31, 0, 36.86 |
Web Safe | 666699 |
RGB percent of color #5150a1
CMYK percent of color #5150a1
Text with hexadecimal color #5150a1
This text has a font color of #5150a1
<p style="color:#5150a1">Text here</p>
#5150a1 Background Color
This box has a background color of #5150a1
<div style="background-color:#5150a1">Text here</div>
#5150a1 Border Color
This box has a border color of #5150a1
<div style="border: 4px solid #5150a1">Text here</div>
CSS codes
<p style="color:#5150a1">Text here</p>
<div style="background-color:#5150a1">Text here</div>
<div style="border: 4px solid #5150a1">Text here</div>
#5150a1 Color on white background
This is how a font and box color of #5150a1 will look
on a white background.
#5150a1 Color on black background
This is how a font and box color of #5150a1 hex color will look
on a black background.