#5a31ab hex color
In a RGB color space, hex #5a31ab is composed of 35.3% red, 19.2% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 47.4% cyan, 71.3% magenta, 0% yellow and 32.9% black. It has a hue angle of 260.2 degrees, a saturation of 55.5% and a lightness of 43.1%. #5a31ab color hex could be obtained by blending #b462ff with #000057. Closest websafe color is: #663399.
-
- R 35
- G 19
- B 67
RGB color chart
-
- C 47
- M 71
- Y 0
- K 33
CMYK color chart
● #5a31ab color description : Dark violet.
The hexadecimal color #5a31ab has RGB values of R:90, G:49, B:171 and CMYK values of C:0.47, M:0.71, Y:0, K:0.33. Its decimal value is 5910955.
Hex triplet | 5a31ab | #5a31ab |
---|---|---|
RGB Decimal | 90, 49, 171 | rgb(90,49,171) |
RGB Percent | 35.3, 19.2, 67.1 | rgb(35.3%,19.2%,67.1%) |
CMYK | 47, 71, 0, 33 | |
HSL | 260.2°, 55.5, 43.1 | hsl(260.2,55.5%,43.1%) |
HSV (or HSB) | 260.2°, 71.3, 67.1 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 32.503, 46.311, -58.736 |
---|---|
XYZ | 12.664, 7.31, 39.27 |
xyY | 0.214, 0.123, 7.31 |
CIE-LCH | 32.503, 74.797, 308.255 |
CIE-LUV | 32.503, 5.542, -82.119 |
Hunter-Lab | 27.038, 36.291, -67.186 |
Binary | 01011010, 00110001, 10101011 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5a31ab. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5a31ab
This text has a font color of #5a31ab.
<span style="color:#5a31ab;">Text here</span>
#5a31ab background color
This paragraph has a background color of #5a31ab.
<p style="background-color:#5a31ab;">Content here</p>
#5a31ab border color
This element has a border color of #5a31ab.
<div style="border:1px solid #5a31ab;">Content here</div>
CSS codes
.text {color:#5a31ab;}
.background {background-color:#5a31ab;}
.border {border:1px solid #5a31ab;}
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, #020103 is the darkest color, while #f6f3fc is the lightest one.
-
#020103
#020103
rgb(2,1,3)
-
#0a0513
#0a0513
rgb(10,5,19)
-
#120a22
#120a22
rgb(18,10,34)
-
#1a0e31
#1a0e31
rgb(26,14,49)
-
#221240
#221240
rgb(34,18,64)
-
#2a1750
#2a1750
rgb(42,23,80)
-
#321b5f
#321b5f
rgb(50,27,95)
-
#3a206e
#3a206e
rgb(58,32,110)
-
#42247d
#42247d
rgb(66,36,125)
-
#4a288d
#4a288d
rgb(74,40,141)
-
#522d9c
#522d9c
rgb(82,45,156)
-
#5a31ab
#5a31ab
rgb(90,49,171)
-
#6235ba
#6235ba
rgb(98,53,186)
Shade Color Variation
-
#6b3cc7
#6b3cc7
rgb(107,60,199)
-
#764bcc
#764bcc
rgb(118,75,204)
-
#825bd0
#825bd0
rgb(130,91,208)
-
#8e6ad4
#8e6ad4
rgb(142,106,212)
-
#9979d9
#9979d9
rgb(153,121,217)
-
#a588dd
#a588dd
rgb(165,136,221)
-
#b098e1
#b098e1
rgb(176,152,225)
-
#bca7e6
#bca7e6
rgb(188,167,230)
-
#c8b6ea
#c8b6ea
rgb(200,182,234)
-
#d3c5ee
#d3c5ee
rgb(211,197,238)
-
#dfd5f3
#dfd5f3
rgb(223,213,243)
-
#eae4f7
#eae4f7
rgb(234,228,247)
-
#f6f3fc
#f6f3fc
rgb(246,243,252)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #6d6c70 is the less saturated color, while #4c07d5 is the most saturated one.
-
#6d6c70
#6d6c70
rgb(109,108,112)
-
#6b6478
#6b6478
rgb(107,100,120)
-
#685b81
#685b81
rgb(104,91,129)
-
#655389
#655389
rgb(101,83,137)
-
#624a92
#624a92
rgb(98,74,146)
-
#60429a
#60429a
rgb(96,66,154)
-
#5d39a3
#5d39a3
rgb(93,57,163)
-
#5a31ab
#5a31ab
rgb(90,49,171)
-
#5729b3
#5729b3
rgb(87,41,179)
-
#5420bc
#5420bc
rgb(84,32,188)
-
#5218c4
#5218c4
rgb(82,24,196)
-
#4f0fcd
#4f0fcd
rgb(79,15,205)
-
#4c07d5
#4c07d5
rgb(76,7,213)
Tone Color Variation
Below, you can see how #5a31ab 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