#5a21b1 hex color
In a RGB color space, hex #5a21b1 is composed of 35.3% red, 12.9% green and 69.4% blue. Whereas in a CMYK color space, it is composed of 49.2% cyan, 81.4% magenta, 0% yellow and 30.6% black. It has a hue angle of 263.8 degrees, a saturation of 68.6% and a lightness of 41.2%. #5a21b1 color hex could be obtained by blending #b442ff with #000063. Closest websafe color is: #663399.
-
- R 35
- G 13
- B 69
RGB color chart
-
- C 49
- M 81
- Y 0
- K 31
CMYK color chart
● #5a21b1 color description : Dark violet.
The hexadecimal color #5a21b1 has RGB values of R:90, G:33, B:177 and CMYK values of C:0.49, M:0.81, Y:0, K:0.31. Its decimal value is 5906865.
Hex triplet | 5a21b1 | #5a21b1 |
---|---|---|
RGB Decimal | 90, 33, 177 | rgb(90,33,177) |
RGB Percent | 35.3, 12.9, 69.4 | rgb(35.3%,12.9%,69.4%) |
CMYK | 49, 81, 0, 31 | |
HSL | 263.8°, 68.6, 41.2 | hsl(263.8,68.6%,41.2%) |
HSV (or HSB) | 263.8°, 81.4, 69.4 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 30.486, 55.213, -65.632 |
---|---|
XYZ | 12.695, 6.436, 42.166 |
xyY | 0.207, 0.105, 6.436 |
CIE-LCH | 30.486, 85.767, 310.072 |
CIE-LUV | 30.486, 6.965, -88.23 |
Hunter-Lab | 25.368, 44.929, -80.79 |
Binary | 01011010, 00100001, 10110001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5a21b1. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5a21b1
This text has a font color of #5a21b1.
<span style="color:#5a21b1;">Text here</span>
#5a21b1 background color
This paragraph has a background color of #5a21b1.
<p style="background-color:#5a21b1;">Content here</p>
#5a21b1 border color
This element has a border color of #5a21b1.
<div style="border:1px solid #5a21b1;">Content here</div>
CSS codes
.text {color:#5a21b1;}
.background {background-color:#5a21b1;}
.border {border:1px solid #5a21b1;}
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, #06020c is the darkest color, while #fcfafe is the lightest one.
-
#06020c
#06020c
rgb(6,2,12)
-
#0e051c
#0e051c
rgb(14,5,28)
-
#17082d
#17082d
rgb(23,8,45)
-
#1f0b3d
#1f0b3d
rgb(31,11,61)
-
#280f4e
#280f4e
rgb(40,15,78)
-
#30125e
#30125e
rgb(48,18,94)
-
#38156f
#38156f
rgb(56,21,111)
-
#41187f
#41187f
rgb(65,24,127)
-
#491b90
#491b90
rgb(73,27,144)
-
#521ea0
#521ea0
rgb(82,30,160)
-
#5a21b1
#5a21b1
rgb(90,33,177)
-
#6224c2
#6224c2
rgb(98,36,194)
-
#6b27d2
#6b27d2
rgb(107,39,210)
Shade Color Variation
-
#7534d9
#7534d9
rgb(117,52,217)
-
#8044dc
#8044dc
rgb(128,68,220)
-
#8c55df
#8c55df
rgb(140,85,223)
-
#9765e2
#9765e2
rgb(151,101,226)
-
#a276e5
#a276e5
rgb(162,118,229)
-
#ad86e9
#ad86e9
rgb(173,134,233)
-
#b897ec
#b897ec
rgb(184,151,236)
-
#c4a7ef
#c4a7ef
rgb(196,167,239)
-
#cfb8f2
#cfb8f2
rgb(207,184,242)
-
#dac9f5
#dac9f5
rgb(218,201,245)
-
#e5d9f8
#e5d9f8
rgb(229,217,248)
-
#f0eafb
#f0eafb
rgb(240,234,251)
-
#fcfafe
#fcfafe
rgb(252,250,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #676270 is the less saturated color, while #5301d1 is the most saturated one.
-
#676270
#676270
rgb(103,98,112)
-
#665a78
#665a78
rgb(102,90,120)
-
#645181
#645181
rgb(100,81,129)
-
#624989
#624989
rgb(98,73,137)
-
#614191
#614191
rgb(97,65,145)
-
#5f3999
#5f3999
rgb(95,57,153)
-
#5d31a1
#5d31a1
rgb(93,49,161)
-
#5c29a9
#5c29a9
rgb(92,41,169)
-
#5a21b1
#5a21b1
rgb(90,33,177)
-
#5819b9
#5819b9
rgb(88,25,185)
-
#5711c1
#5711c1
rgb(87,17,193)
-
#5509c9
#5509c9
rgb(85,9,201)
-
#5301d1
#5301d1
rgb(83,1,209)
Tone Color Variation
Below, you can see how #5a21b1 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