#5a518c hex color
In a RGB color space, hex #5a518c is composed of 35.3% red, 31.8% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 35.7% cyan, 42.1% magenta, 0% yellow and 45.1% black. It has a hue angle of 249.2 degrees, a saturation of 26.7% and a lightness of 43.3%. #5a518c color hex could be obtained by blending #b4a2ff with #000019. Closest websafe color is: #666699.
-
- R 35
- G 32
- B 55
RGB color chart
-
- C 36
- M 42
- Y 0
- K 45
CMYK color chart
● #5a518c color description : Mostly desaturated dark blue.
The hexadecimal color #5a518c has RGB values of R:90, G:81, B:140 and CMYK values of C:0.36, M:0.42, Y:0, K:0.45. Its decimal value is 5919116.
Hex triplet | 5a518c | #5a518c |
---|---|---|
RGB Decimal | 90, 81, 140 | rgb(90,81,140) |
RGB Percent | 35.3, 31.8, 54.9 | rgb(35.3%,31.8%,54.9%) |
CMYK | 36, 42, 0, 45 | |
HSL | 249.2°, 26.7, 43.3 | hsl(249.2,26.7%,43.3%) |
HSV (or HSB) | 249.2°, 42.1, 54.9 | |
Web Safe | 666699 | #666699 |
CIE-LAB | 37.756, 18.369, -31.562 |
---|---|
XYZ | 11.892, 9.952, 26.104 |
xyY | 0.248, 0.208, 9.952 |
CIE-LCH | 37.756, 36.519, 300.199 |
CIE-LUV | 37.756, 0.385, -46.301 |
Hunter-Lab | 31.547, 12.08, -26.978 |
Binary | 01011010, 01010001, 10001100 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5a518c. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5a518c
This text has a font color of #5a518c.
<span style="color:#5a518c;">Text here</span>
#5a518c background color
This paragraph has a background color of #5a518c.
<p style="background-color:#5a518c;">Content here</p>
#5a518c border color
This element has a border color of #5a518c.
<div style="border:1px solid #5a518c;">Content here</div>
CSS codes
.text {color:#5a518c;}
.background {background-color:#5a518c;}
.border {border:1px solid #5a518c;}
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, #020203 is the darkest color, while #f6f6fa is the lightest one.
-
#020203
#020203
rgb(2,2,3)
-
#0a0910
#0a0910
rgb(10,9,16)
-
#12101c
#12101c
rgb(18,16,28)
-
#1a1729
#1a1729
rgb(26,23,41)
-
#221f35
#221f35
rgb(34,31,53)
-
#2a2641
#2a2641
rgb(42,38,65)
-
#322d4e
#322d4e
rgb(50,45,78)
-
#3a345a
#3a345a
rgb(58,52,90)
-
#423b67
#423b67
rgb(66,59,103)
-
#4a4373
#4a4373
rgb(74,67,115)
-
#524a80
#524a80
rgb(82,74,128)
-
#5a518c
#5a518c
rgb(90,81,140)
-
#625898
#625898
rgb(98,88,152)
Shade Color Variation
-
#6b61a3
#6b61a3
rgb(107,97,163)
-
#776dab
#776dab
rgb(119,109,171)
-
#827ab2
#827ab2
rgb(130,122,178)
-
#8e86b9
#8e86b9
rgb(142,134,185)
-
#9992c0
#9992c0
rgb(153,146,192)
-
#a59fc7
#a59fc7
rgb(165,159,199)
-
#b1abcf
#b1abcf
rgb(177,171,207)
-
#bcb8d6
#bcb8d6
rgb(188,184,214)
-
#c8c4dd
#c8c4dd
rgb(200,196,221)
-
#d4d1e4
#d4d1e4
rgb(212,209,228)
-
#dfddeb
#dfddeb
rgb(223,221,235)
-
#ebe9f3
#ebe9f3
rgb(235,233,243)
-
#f6f6fa
#f6f6fa
rgb(246,246,250)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #6c6b73 is the less saturated color, while #2504d9 is the most saturated one.
-
#6c6b73
#6c6b73
rgb(108,107,115)
-
#66627b
#66627b
rgb(102,98,123)
-
#605a84
#605a84
rgb(96,90,132)
-
#5a518c
#5a518c
rgb(90,81,140)
-
#544995
#544995
rgb(84,73,149)
-
#4e409d
#4e409d
rgb(78,64,157)
-
#4838a6
#4838a6
rgb(72,56,166)
-
#422fae
#422fae
rgb(66,47,174)
-
#3c27b7
#3c27b7
rgb(60,39,183)
-
#371ebf
#371ebf
rgb(55,30,191)
-
#3116c8
#3116c8
rgb(49,22,200)
-
#2b0dd0
#2b0dd0
rgb(43,13,208)
-
#2504d9
#2504d9
rgb(37,4,217)
Tone Color Variation
Below, you can see how #5a518c 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