#5a1e8c hex color
In a RGB color space, hex #5a1e8c is composed of 35.3% red, 11.8% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 35.7% cyan, 78.6% magenta, 0% yellow and 45.1% black. It has a hue angle of 272.7 degrees, a saturation of 64.7% and a lightness of 33.3%. #5a1e8c color hex could be obtained by blending #b43cff with #000019. Closest websafe color is: #663399.
-
- R 35
- G 12
- B 55
RGB color chart
-
- C 36
- M 79
- Y 0
- K 45
CMYK color chart
● #5a1e8c color description : Dark violet.
The hexadecimal color #5a1e8c has RGB values of R:90, G:30, B:140 and CMYK values of C:0.36, M:0.79, Y:0, K:0.45. Its decimal value is 5906060.
Hex triplet | 5a1e8c | #5a1e8c |
---|---|---|
RGB Decimal | 90, 30, 140 | rgb(90,30,140) |
RGB Percent | 35.3, 11.8, 54.9 | rgb(35.3%,11.8%,54.9%) |
CMYK | 36, 79, 0, 45 | |
HSL | 272.7°, 64.7, 33.3 | hsl(272.7,64.7%,33.3%) |
HSV (or HSB) | 272.7°, 78.6, 54.9 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 26.723, 47.186, -49.26 |
---|---|
XYZ | 9.414, 4.996, 25.278 |
xyY | 0.237, 0.126, 4.996 |
CIE-LCH | 26.723, 68.213, 313.768 |
CIE-LUV | 26.723, 12.934, -65.187 |
Hunter-Lab | 22.351, 36.064, -51.407 |
Binary | 01011010, 00011110, 10001100 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5a1e8c. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5a1e8c
This text has a font color of #5a1e8c.
<span style="color:#5a1e8c;">Text here</span>
#5a1e8c background color
This paragraph has a background color of #5a1e8c.
<p style="background-color:#5a1e8c;">Content here</p>
#5a1e8c border color
This element has a border color of #5a1e8c.
<div style="border:1px solid #5a1e8c;">Content here</div>
CSS codes
.text {color:#5a1e8c;}
.background {background-color:#5a1e8c;}
.border {border:1px solid #5a1e8c;}
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, #07020b is the darkest color, while #fcfafe is the lightest one.
-
#07020b
#07020b
rgb(7,2,11)
-
#11061b
#11061b
rgb(17,6,27)
-
#1c092b
#1c092b
rgb(28,9,43)
-
#260d3b
#260d3b
rgb(38,13,59)
-
#30104b
#30104b
rgb(48,16,75)
-
#3b145c
#3b145c
rgb(59,20,92)
-
#45176c
#45176c
rgb(69,23,108)
-
#501b7c
#501b7c
rgb(80,27,124)
-
#5a1e8c
#5a1e8c
rgb(90,30,140)
-
#64219c
#64219c
rgb(100,33,156)
-
#6f25ac
#6f25ac
rgb(111,37,172)
-
#7928bc
#7928bc
rgb(121,40,188)
-
#842ccd
#842ccd
rgb(132,44,205)
Shade Color Variation
-
#8d38d4
#8d38d4
rgb(141,56,212)
-
#9648d8
#9648d8
rgb(150,72,216)
-
#a058db
#a058db
rgb(160,88,219)
-
#a968df
#a968df
rgb(169,104,223)
-
#b278e2
#b278e2
rgb(178,120,226)
-
#bb89e6
#bb89e6
rgb(187,137,230)
-
#c599e9
#c599e9
rgb(197,153,233)
-
#cea9ed
#cea9ed
rgb(206,169,237)
-
#d7b9f0
#d7b9f0
rgb(215,185,240)
-
#e0c9f3
#e0c9f3
rgb(224,201,243)
-
#e9d9f7
#e9d9f7
rgb(233,217,247)
-
#f3e9fa
#f3e9fa
rgb(243,233,250)
-
#fcfafe
#fcfafe
rgb(252,250,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #555258 is the less saturated color, while #5c04a6 is the most saturated one.
-
#555258
#555258
rgb(85,82,88)
-
#564c5e
#564c5e
rgb(86,76,94)
-
#564565
#564565
rgb(86,69,101)
-
#573f6b
#573f6b
rgb(87,63,107)
-
#583872
#583872
rgb(88,56,114)
-
#583278
#583278
rgb(88,50,120)
-
#592b7f
#592b7f
rgb(89,43,127)
-
#592585
#592585
rgb(89,37,133)
-
#5a1e8c
#5a1e8c
rgb(90,30,140)
-
#5b1793
#5b1793
rgb(91,23,147)
-
#5b1199
#5b1199
rgb(91,17,153)
-
#5c0aa0
#5c0aa0
rgb(92,10,160)
-
#5c04a6
#5c04a6
rgb(92,4,166)
Tone Color Variation
Below, you can see how #5a1e8c 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