#5a1d8b hex color
In a RGB color space, hex #5a1d8b is composed of 35.3% red, 11.4% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 35.3% cyan, 79.1% magenta, 0% yellow and 45.5% black. It has a hue angle of 273.3 degrees, a saturation of 65.5% and a lightness of 32.9%. #5a1d8b color hex could be obtained by blending #b43aff with #000017. Closest websafe color is: #663399.
-
- R 35
- G 11
- B 55
RGB color chart
-
- C 35
- M 79
- Y 0
- K 45
CMYK color chart
● #5a1d8b color description : Dark violet.
The hexadecimal color #5a1d8b has RGB values of R:90, G:29, B:139 and CMYK values of C:0.35, M:0.79, Y:0, K:0.45. Its decimal value is 5905803.
Hex triplet | 5a1d8b | #5a1d8b |
---|---|---|
RGB Decimal | 90, 29, 139 | rgb(90,29,139) |
RGB Percent | 35.3, 11.4, 54.5 | rgb(35.3%,11.4%,54.5%) |
CMYK | 35, 79, 0, 45 | |
HSL | 273.3°, 65.5, 32.9 | hsl(273.3,65.5%,32.9%) |
HSV (or HSB) | 273.3°, 79.1, 54.5 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 26.496, 47.356, -49.008 |
---|---|
XYZ | 9.315, 4.917, 24.883 |
xyY | 0.238, 0.126, 4.917 |
CIE-LCH | 26.496, 68.149, 314.018 |
CIE-LUV | 26.496, 13.233, -64.676 |
Hunter-Lab | 22.173, 36.186, -51.014 |
Binary | 01011010, 00011101, 10001011 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5a1d8b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5a1d8b
This text has a font color of #5a1d8b.
<span style="color:#5a1d8b;">Text here</span>
#5a1d8b background color
This paragraph has a background color of #5a1d8b.
<p style="background-color:#5a1d8b;">Content here</p>
#5a1d8b border color
This element has a border color of #5a1d8b.
<div style="border:1px solid #5a1d8b;">Content here</div>
CSS codes
.text {color:#5a1d8b;}
.background {background-color:#5a1d8b;}
.border {border:1px solid #5a1d8b;}
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, #060209 is the darkest color, while #fbf8fe is the lightest one.
-
#060209
#060209
rgb(6,2,9)
-
#100519
#100519
rgb(16,5,25)
-
#1b092a
#1b092a
rgb(27,9,42)
-
#250c3a
#250c3a
rgb(37,12,58)
-
#300f4a
#300f4a
rgb(48,15,74)
-
#3a135a
#3a135a
rgb(58,19,90)
-
#45166b
#45166b
rgb(69,22,107)
-
#4f1a7b
#4f1a7b
rgb(79,26,123)
-
#5a1d8b
#5a1d8b
rgb(90,29,139)
-
#65209b
#65209b
rgb(101,32,155)
-
#6f24ab
#6f24ab
rgb(111,36,171)
-
#7a27bc
#7a27bc
rgb(122,39,188)
-
#842bcc
#842bcc
rgb(132,43,204)
Shade Color Variation
-
#8e35d5
#8e35d5
rgb(142,53,213)
-
#9745d8
#9745d8
rgb(151,69,216)
-
#a056dc
#a056dc
rgb(160,86,220)
-
#a966df
#a966df
rgb(169,102,223)
-
#b276e2
#b276e2
rgb(178,118,226)
-
#bb86e6
#bb86e6
rgb(187,134,230)
-
#c497e9
#c497e9
rgb(196,151,233)
-
#cea7ed
#cea7ed
rgb(206,167,237)
-
#d7b7f0
#d7b7f0
rgb(215,183,240)
-
#e0c7f3
#e0c7f3
rgb(224,199,243)
-
#e9d7f7
#e9d7f7
rgb(233,215,247)
-
#f2e8fa
#f2e8fa
rgb(242,232,250)
-
#fbf8fe
#fbf8fe
rgb(251,248,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #545157 is the less saturated color, while #5d03a5 is the most saturated one.
-
#545157
#545157
rgb(84,81,87)
-
#554a5e
#554a5e
rgb(85,74,94)
-
#564464
#564464
rgb(86,68,100)
-
#563d6b
#563d6b
rgb(86,61,107)
-
#573771
#573771
rgb(87,55,113)
-
#583078
#583078
rgb(88,48,120)
-
#592a7e
#592a7e
rgb(89,42,126)
-
#592385
#592385
rgb(89,35,133)
-
#5a1d8b
#5a1d8b
rgb(90,29,139)
-
#5b1791
#5b1791
rgb(91,23,145)
-
#5b1098
#5b1098
rgb(91,16,152)
-
#5c0a9e
#5c0a9e
rgb(92,10,158)
-
#5d03a5
#5d03a5
rgb(93,3,165)
Tone Color Variation
Below, you can see how #5a1d8b 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