#5a5170 hex color
In a RGB color space, hex #5a5170 is composed of 35.3% red, 31.8% green and 43.9% blue. Whereas in a CMYK color space, it is composed of 19.6% cyan, 27.7% magenta, 0% yellow and 56.1% black. It has a hue angle of 257.4 degrees, a saturation of 16.1% and a lightness of 37.8%. #5a5170 color hex could be obtained by blending #b4a2e0 with #000000. Closest websafe color is: #666666.
-
- R 35
- G 32
- B 44
RGB color chart
-
- C 20
- M 28
- Y 0
- K 56
CMYK color chart
● #5a5170 color description : Very dark grayish violet.
The hexadecimal color #5a5170 has RGB values of R:90, G:81, B:112 and CMYK values of C:0.2, M:0.28, Y:0, K:0.56. Its decimal value is 5919088.
Hex triplet | 5a5170 | #5a5170 |
---|---|---|
RGB Decimal | 90, 81, 112 | rgb(90,81,112) |
RGB Percent | 35.3, 31.8, 43.9 | rgb(35.3%,31.8%,43.9%) |
CMYK | 20, 28, 0, 56 | |
HSL | 257.4°, 16.1, 37.8 | hsl(257.4,16.1%,37.8%) |
HSV (or HSB) | 257.4°, 27.7, 43.9 | |
Web Safe | 666666 | #666666 |
CIE-LAB | 36.42, 10.744, -16.417 |
---|---|
XYZ | 10.083, 9.228, 16.578 |
xyY | 0.281, 0.257, 9.228 |
CIE-LCH | 36.42, 19.62, 303.204 |
CIE-LUV | 36.42, 2.655, -23.38 |
Hunter-Lab | 30.378, 6.085, -11.092 |
Binary | 01011010, 01010001, 01110000 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5a5170. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5a5170
This text has a font color of #5a5170.
<span style="color:#5a5170;">Text here</span>
#5a5170 background color
This paragraph has a background color of #5a5170.
<p style="background-color:#5a5170;">Content here</p>
#5a5170 border color
This element has a border color of #5a5170.
<div style="border:1px solid #5a5170;">Content here</div>
CSS codes
.text {color:#5a5170;}
.background {background-color:#5a5170;}
.border {border:1px solid #5a5170;}
A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #08070a is the darkest color, while #fdfdfe is the lightest one.
-
#08070a
#08070a
rgb(8,7,10)
-
#110f15
#110f15
rgb(17,15,21)
-
#1a1720
#1a1720
rgb(26,23,32)
-
#23202c
#23202c
rgb(35,32,44)
-
#2c2837
#2c2837
rgb(44,40,55)
-
#353042
#353042
rgb(53,48,66)
-
#3f384e
#3f384e
rgb(63,56,78)
-
#484159
#484159
rgb(72,65,89)
-
#514965
#514965
rgb(81,73,101)
-
#5a5170
#5a5170
rgb(90,81,112)
-
#63597b
#63597b
rgb(99,89,123)
-
#6c6187
#6c6187
rgb(108,97,135)
-
#756a92
#756a92
rgb(117,106,146)
Shade Color Variation
-
#80759b
#80759b
rgb(128,117,155)
-
#8a80a3
#8a80a3
rgb(138,128,163)
-
#958bab
#958bab
rgb(149,139,171)
-
#9f97b4
#9f97b4
rgb(159,151,180)
-
#aaa2bc
#aaa2bc
rgb(170,162,188)
-
#b4adc4
#b4adc4
rgb(180,173,196)
-
#bfb9cc
#bfb9cc
rgb(191,185,204)
-
#c9c4d5
#c9c4d5
rgb(201,196,213)
-
#d3d0dd
#d3d0dd
rgb(211,208,221)
-
#dedbe5
#dedbe5
rgb(222,219,229)
-
#e8e6ed
#e8e6ed
rgb(232,230,237)
-
#f3f2f5
#f3f2f5
rgb(243,242,245)
-
#fdfdfe
#fdfdfe
rgb(253,253,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #606061 is the less saturated color, while #3b07ba is the most saturated one.
-
#606061
#606061
rgb(96,96,97)
-
#5d5869
#5d5869
rgb(93,88,105)
-
#5a5170
#5a5170
rgb(90,81,112)
-
#574a77
#574a77
rgb(87,74,119)
-
#54427f
#54427f
rgb(84,66,127)
-
#513b86
#513b86
rgb(81,59,134)
-
#4e338e
#4e338e
rgb(78,51,142)
-
#4a2c95
#4a2c95
rgb(74,44,149)
-
#47249d
#47249d
rgb(71,36,157)
-
#441da4
#441da4
rgb(68,29,164)
-
#4116ab
#4116ab
rgb(65,22,171)
-
#3e0eb3
#3e0eb3
rgb(62,14,179)
-
#3b07ba
#3b07ba
rgb(59,7,186)
Tone Color Variation
Below, you can see how #5a5170 is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.
Monochromacy
Dichromacy