#5a21d9 hex color
In a RGB color space, hex #5a21d9 is composed of 35.3% red, 12.9% green and 85.1% blue. Whereas in a CMYK color space, it is composed of 58.5% cyan, 84.8% magenta, 0% yellow and 14.9% black. It has a hue angle of 258.6 degrees, a saturation of 73.6% and a lightness of 49%. #5a21d9 color hex could be obtained by blending #b442ff with #0000b3. Closest websafe color is: #6633cc.
-
- R 35
- G 13
- B 85
RGB color chart
-
- C 59
- M 85
- Y 0
- K 15
CMYK color chart
● #5a21d9 color description : Bright violet.
The hexadecimal color #5a21d9 has RGB values of R:90, G:33, B:217 and CMYK values of C:0.59, M:0.85, Y:0, K:0.15. Its decimal value is 5906905.
Hex triplet | 5a21d9 | #5a21d9 |
---|---|---|
RGB Decimal | 90, 33, 217 | rgb(90,33,217) |
RGB Percent | 35.3, 12.9, 85.1 | rgb(35.3%,12.9%,85.1%) |
CMYK | 59, 85, 0, 15 | |
HSL | 258.6°, 73.6, 49 | hsl(258.6,73.6%,49%) |
HSV (or HSB) | 258.6°, 84.8, 85.1 | |
Web Safe | 6633cc | #6633cc |
CIE-LAB | 34.54, 65.418, -82.403 |
---|---|
XYZ | 17.282, 8.271, 66.328 |
xyY | 0.188, 0.09, 8.271 |
CIE-LCH | 34.54, 105.213, 308.446 |
CIE-LUV | 34.54, 2.375, -112.084 |
Hunter-Lab | 28.759, 56.941, -116.612 |
Binary | 01011010, 00100001, 11011001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5a21d9. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5a21d9
This text has a font color of #5a21d9.
<span style="color:#5a21d9;">Text here</span>
#5a21d9 background color
This paragraph has a background color of #5a21d9.
<p style="background-color:#5a21d9;">Content here</p>
#5a21d9 border color
This element has a border color of #5a21d9.
<div style="border:1px solid #5a21d9;">Content here</div>
CSS codes
.text {color:#5a21d9;}
.background {background-color:#5a21d9;}
.border {border:1px solid #5a21d9;}
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, #05020d is the darkest color, while #fcfbfe is the lightest one.
-
#05020d
#05020d
rgb(5,2,13)
-
#0c051e
#0c051e
rgb(12,5,30)
-
#13072f
#13072f
rgb(19,7,47)
-
#1a0a40
#1a0a40
rgb(26,10,64)
-
#220c51
#220c51
rgb(34,12,81)
-
#290f62
#290f62
rgb(41,15,98)
-
#301173
#301173
rgb(48,17,115)
-
#371484
#371484
rgb(55,20,132)
-
#3e1795
#3e1795
rgb(62,23,149)
-
#4519a6
#4519a6
rgb(69,25,166)
-
#4c1cb7
#4c1cb7
rgb(76,28,183)
-
#531ec8
#531ec8
rgb(83,30,200)
-
#5a21d9
#5a21d9
rgb(90,33,217)
Shade Color Variation
-
#652edf
#652edf
rgb(101,46,223)
-
#723fe2
#723fe2
rgb(114,63,226)
-
#7e50e4
#7e50e4
rgb(126,80,228)
-
#8b61e7
#8b61e7
rgb(139,97,231)
-
#9772ea
#9772ea
rgb(151,114,234)
-
#a483ec
#a483ec
rgb(164,131,236)
-
#b095ef
#b095ef
rgb(176,149,239)
-
#bda6f1
#bda6f1
rgb(189,166,241)
-
#cab7f4
#cab7f4
rgb(202,183,244)
-
#d6c8f7
#d6c8f7
rgb(214,200,247)
-
#e3d9f9
#e3d9f9
rgb(227,217,249)
-
#efeafc
#efeafc
rgb(239,234,252)
-
#fcfbfe
#fcfbfe
rgb(252,251,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #7b7882 is the less saturated color, while #4f04f6 is the most saturated one.
-
#7b7882
#7b7882
rgb(123,120,130)
-
#776e8c
#776e8c
rgb(119,110,140)
-
#746496
#746496
rgb(116,100,150)
-
#705b9f
#705b9f
rgb(112,91,159)
-
#6c51a9
#6c51a9
rgb(108,81,169)
-
#6947b3
#6947b3
rgb(105,71,179)
-
#653ebc
#653ebc
rgb(101,62,188)
-
#6134c6
#6134c6
rgb(97,52,198)
-
#5e2bcf
#5e2bcf
rgb(94,43,207)
-
#5a21d9
#5a21d9
rgb(90,33,217)
-
#5617e3
#5617e3
rgb(86,23,227)
-
#530eec
#530eec
rgb(83,14,236)
-
#4f04f6
#4f04f6
rgb(79,4,246)
Tone Color Variation
Below, you can see how #5a21d9 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