#5a1b84 hex color
In a RGB color space, hex #5a1b84 is composed of 35.3% red, 10.6% green and 51.8% blue. Whereas in a CMYK color space, it is composed of 31.8% cyan, 79.5% magenta, 0% yellow and 48.2% black. It has a hue angle of 276 degrees, a saturation of 66% and a lightness of 31.2%. #5a1b84 color hex could be obtained by blending #b436ff with #000009. Closest websafe color is: #663399.
-
- R 35
- G 11
- B 52
RGB color chart
-
- C 32
- M 80
- Y 0
- K 48
CMYK color chart
● #5a1b84 color description : Dark violet.
The hexadecimal color #5a1b84 has RGB values of R:90, G:27, B:132 and CMYK values of C:0.32, M:0.8, Y:0, K:0.48. Its decimal value is 5905284.
Hex triplet | 5a1b84 | #5a1b84 |
---|---|---|
RGB Decimal | 90, 27, 132 | rgb(90,27,132) |
RGB Percent | 35.3, 10.6, 51.8 | rgb(35.3%,10.6%,51.8%) |
CMYK | 32, 80, 0, 48 | |
HSL | 276°, 66, 31.2 | hsl(276,66%,31.2%) |
HSV (or HSB) | 276°, 79.5, 51.8 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 25.635, 46.502, -46.034 |
---|---|
XYZ | 8.773, 4.624, 22.259 |
xyY | 0.246, 0.13, 4.624 |
CIE-LCH | 25.635, 65.434, 315.29 |
CIE-LUV | 25.635, 14.771, -60.371 |
Hunter-Lab | 21.503, 35.194, -46.323 |
Binary | 01011010, 00011011, 10000100 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5a1b84. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5a1b84
This text has a font color of #5a1b84.
<span style="color:#5a1b84;">Text here</span>
#5a1b84 background color
This paragraph has a background color of #5a1b84.
<p style="background-color:#5a1b84;">Content here</p>
#5a1b84 border color
This element has a border color of #5a1b84.
<div style="border:1px solid #5a1b84;">Content here</div>
CSS codes
.text {color:#5a1b84;}
.background {background-color:#5a1b84;}
.border {border:1px solid #5a1b84;}
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, #010002 is the darkest color, while #f7f0fc is the lightest one.
-
#010002
#010002
rgb(1,0,2)
-
#0c0412
#0c0412
rgb(12,4,18)
-
#170722
#170722
rgb(23,7,34)
-
#220a33
#220a33
rgb(34,10,51)
-
#2e0e43
#2e0e43
rgb(46,14,67)
-
#391153
#391153
rgb(57,17,83)
-
#441463
#441463
rgb(68,20,99)
-
#4f1874
#4f1874
rgb(79,24,116)
-
#5a1b84
#5a1b84
rgb(90,27,132)
-
#651e94
#651e94
rgb(101,30,148)
-
#7022a5
#7022a5
rgb(112,34,165)
-
#7b25b5
#7b25b5
rgb(123,37,181)
-
#8628c5
#8628c5
rgb(134,40,197)
Shade Color Variation
-
#912dd4
#912dd4
rgb(145,45,212)
-
#9a3dd7
#9a3dd7
rgb(154,61,215)
-
#a24edb
#a24edb
rgb(162,78,219)
-
#ab5ede
#ab5ede
rgb(171,94,222)
-
#b36ee1
#b36ee1
rgb(179,110,225)
-
#bc7ee5
#bc7ee5
rgb(188,126,229)
-
#c48fe8
#c48fe8
rgb(196,143,232)
-
#cd9feb
#cd9feb
rgb(205,159,235)
-
#d5afef
#d5afef
rgb(213,175,239)
-
#dec0f2
#dec0f2
rgb(222,192,242)
-
#e6d0f5
#e6d0f5
rgb(230,208,245)
-
#efe0f9
#efe0f9
rgb(239,224,249)
-
#f7f0fc
#f7f0fc
rgb(247,240,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #504c53 is the less saturated color, while #5f039c is the most saturated one.
-
#504c53
#504c53
rgb(80,76,83)
-
#514659
#514659
rgb(81,70,89)
-
#53405f
#53405f
rgb(83,64,95)
-
#543a65
#543a65
rgb(84,58,101)
-
#55336c
#55336c
rgb(85,51,108)
-
#562d72
#562d72
rgb(86,45,114)
-
#582778
#582778
rgb(88,39,120)
-
#59217e
#59217e
rgb(89,33,126)
-
#5a1b84
#5a1b84
rgb(90,27,132)
-
#5b158a
#5b158a
rgb(91,21,138)
-
#5c0f90
#5c0f90
rgb(92,15,144)
-
#5e0996
#5e0996
rgb(94,9,150)
-
#5f039c
#5f039c
rgb(95,3,156)
Tone Color Variation
Below, you can see how #5a1b84 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