#5a40a3 hex color
In a RGB color space, hex #5a40a3 is composed of 35.3% red, 25.1% green and 63.9% blue. Whereas in a CMYK color space, it is composed of 44.8% cyan, 60.7% magenta, 0% yellow and 36.1% black. It has a hue angle of 255.8 degrees, a saturation of 43.6% and a lightness of 44.5%. #5a40a3 color hex could be obtained by blending #b480ff with #000047. Closest websafe color is: #663399.
-
- R 35
- G 25
- B 64
RGB color chart
-
- C 45
- M 61
- Y 0
- K 36
CMYK color chart
● #5a40a3 color description : Dark moderate violet.
The hexadecimal color #5a40a3 has RGB values of R:90, G:64, B:163 and CMYK values of C:0.45, M:0.61, Y:0, K:0.36. Its decimal value is 5914787.
Hex triplet | 5a40a3 | #5a40a3 |
---|---|---|
RGB Decimal | 90, 64, 163 | rgb(90,64,163) |
RGB Percent | 35.3, 25.1, 63.9 | rgb(35.3%,25.1%,63.9%) |
CMYK | 45, 61, 0, 36 | |
HSL | 255.8°, 43.6, 44.5 | hsl(255.8,43.6%,44.5%) |
HSV (or HSB) | 255.8°, 60.7, 63.9 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 34.972, 35.638, -49.923 |
---|---|
XYZ | 12.66, 8.485, 35.619 |
xyY | 0.223, 0.149, 8.485 |
CIE-LCH | 34.972, 61.338, 305.521 |
CIE-LUV | 34.972, 3.342, -72.248 |
Hunter-Lab | 29.128, 26.603, -52.112 |
Binary | 01011010, 01000000, 10100011 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5a40a3. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5a40a3
This text has a font color of #5a40a3.
<span style="color:#5a40a3;">Text here</span>
#5a40a3 background color
This paragraph has a background color of #5a40a3.
<p style="background-color:#5a40a3;">Content here</p>
#5a40a3 border color
This element has a border color of #5a40a3.
<div style="border:1px solid #5a40a3;">Content here</div>
CSS codes
.text {color:#5a40a3;}
.background {background-color:#5a40a3;}
.border {border:1px solid #5a40a3;}
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, #040308 is the darkest color, while #faf9fd is the lightest one.
-
#040308
#040308
rgb(4,3,8)
-
#0c0916
#0c0916
rgb(12,9,22)
-
#140e24
#140e24
rgb(20,14,36)
-
#1c1432
#1c1432
rgb(28,20,50)
-
#241940
#241940
rgb(36,25,64)
-
#2b1f4e
#2b1f4e
rgb(43,31,78)
-
#33245d
#33245d
rgb(51,36,93)
-
#3b2a6b
#3b2a6b
rgb(59,42,107)
-
#432f79
#432f79
rgb(67,47,121)
-
#4a3587
#4a3587
rgb(74,53,135)
-
#523a95
#523a95
rgb(82,58,149)
-
#5a40a3
#5a40a3
rgb(90,64,163)
-
#6246b1
#6246b1
rgb(98,70,177)
Shade Color Variation
-
#6c50ba
#6c50ba
rgb(108,80,186)
-
#785ec0
#785ec0
rgb(120,94,192)
-
#846cc5
#846cc5
rgb(132,108,197)
-
#8f7acb
#8f7acb
rgb(143,122,203)
-
#9b88d0
#9b88d0
rgb(155,136,208)
-
#a796d6
#a796d6
rgb(167,150,214)
-
#b3a4db
#b3a4db
rgb(179,164,219)
-
#bfb3e1
#bfb3e1
rgb(191,179,225)
-
#cbc1e7
#cbc1e7
rgb(203,193,231)
-
#d6cfec
#d6cfec
rgb(214,207,236)
-
#e2ddf2
#e2ddf2
rgb(226,221,242)
-
#eeebf7
#eeebf7
rgb(238,235,247)
-
#faf9fd
#faf9fd
rgb(250,249,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #6f6c77 is the less saturated color, while #3d03e0 is the most saturated one.
-
#6f6c77
#6f6c77
rgb(111,108,119)
-
#6b6380
#6b6380
rgb(107,99,128)
-
#665a89
#665a89
rgb(102,90,137)
-
#625192
#625192
rgb(98,81,146)
-
#5e499a
#5e499a
rgb(94,73,154)
-
#5a40a3
#5a40a3
rgb(90,64,163)
-
#5637ac
#5637ac
rgb(86,55,172)
-
#522fb4
#522fb4
rgb(82,47,180)
-
#4e26bd
#4e26bd
rgb(78,38,189)
-
#491dc6
#491dc6
rgb(73,29,198)
-
#4514cf
#4514cf
rgb(69,20,207)
-
#410cd7
#410cd7
rgb(65,12,215)
-
#3d03e0
#3d03e0
rgb(61,3,224)
Tone Color Variation
Below, you can see how #5a40a3 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