#5f21c9 hex color
In a RGB color space, hex #5f21c9 is composed of 37.3% red, 12.9% green and 78.8% blue. Whereas in a CMYK color space, it is composed of 52.7% cyan, 83.6% magenta, 0% yellow and 21.2% black. It has a hue angle of 262.1 degrees, a saturation of 71.8% and a lightness of 45.9%. #5f21c9 color hex could be obtained by blending #be42ff with #000093. Closest websafe color is: #6633cc.
-
- R 37
- G 13
- B 79
RGB color chart
-
- C 53
- M 84
- Y 0
- K 21
CMYK color chart
● #5f21c9 color description : Strong violet.
The hexadecimal color #5f21c9 has RGB values of R:95, G:33, B:201 and CMYK values of C:0.53, M:0.84, Y:0, K:0.21. Its decimal value is 6234569.
Hex triplet | 5f21c9 | #5f21c9 |
---|---|---|
RGB Decimal | 95, 33, 201 | rgb(95,33,201) |
RGB Percent | 37.3, 12.9, 78.8 | rgb(37.3%,12.9%,78.8%) |
CMYK | 53, 84, 0, 21 | |
HSL | 262.1°, 71.8, 45.9 | hsl(262.1,71.8%,45.9%) |
HSV (or HSB) | 262.1°, 83.6, 78.8 | |
Web Safe | 6633cc | #6633cc |
CIE-LAB | 33.43, 61.885, -74.936 |
---|---|
XYZ | 15.804, 7.737, 55.916 |
xyY | 0.199, 0.097, 7.737 |
CIE-LCH | 33.43, 97.187, 309.551 |
CIE-LUV | 33.43, 5.716, -102.526 |
Hunter-Lab | 27.816, 52.738, -99.713 |
Binary | 01011111, 00100001, 11001001 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5f21c9. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5f21c9
This text has a font color of #5f21c9.
<span style="color:#5f21c9;">Text here</span>
#5f21c9 background color
This paragraph has a background color of #5f21c9.
<p style="background-color:#5f21c9;">Content here</p>
#5f21c9 border color
This element has a border color of #5f21c9.
<div style="border:1px solid #5f21c9;">Content here</div>
CSS codes
.text {color:#5f21c9;}
.background {background-color:#5f21c9;}
.border {border:1px solid #5f21c9;}
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, #070310 is the darkest color, while #fefeff is the lightest one.
-
#070310
#070310
rgb(7,3,16)
-
#0f0521
#0f0521
rgb(15,5,33)
-
#170831
#170831
rgb(23,8,49)
-
#1f0b42
#1f0b42
rgb(31,11,66)
-
#270e53
#270e53
rgb(39,14,83)
-
#2f1064
#2f1064
rgb(47,16,100)
-
#371375
#371375
rgb(55,19,117)
-
#3f1686
#3f1686
rgb(63,22,134)
-
#471996
#471996
rgb(71,25,150)
-
#4f1ba7
#4f1ba7
rgb(79,27,167)
-
#571eb8
#571eb8
rgb(87,30,184)
-
#5f21c9
#5f21c9
rgb(95,33,201)
-
#6724da
#6724da
rgb(103,36,218)
Shade Color Variation
-
#7234de
#7234de
rgb(114,52,222)
-
#7e44e0
#7e44e0
rgb(126,68,224)
-
#8a55e3
#8a55e3
rgb(138,85,227)
-
#9566e6
#9566e6
rgb(149,102,230)
-
#a177e9
#a177e9
rgb(161,119,233)
-
#ad88eb
#ad88eb
rgb(173,136,235)
-
#b899ee
#b899ee
rgb(184,153,238)
-
#c4aaf1
#c4aaf1
rgb(196,170,241)
-
#d0baf4
#d0baf4
rgb(208,186,244)
-
#dbcbf7
#dbcbf7
rgb(219,203,247)
-
#e7dcf9
#e7dcf9
rgb(231,220,249)
-
#f3edfc
#f3edfc
rgb(243,237,252)
-
#fefeff
#fefeff
rgb(254,254,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #747278 is the less saturated color, while #5806e4 is the most saturated one.
-
#747278
#747278
rgb(116,114,120)
-
#726981
#726981
rgb(114,105,129)
-
#70608a
#70608a
rgb(112,96,138)
-
#6d5793
#6d5793
rgb(109,87,147)
-
#6b4e9c
#6b4e9c
rgb(107,78,156)
-
#6845a5
#6845a5
rgb(104,69,165)
-
#663cae
#663cae
rgb(102,60,174)
-
#6433b7
#6433b7
rgb(100,51,183)
-
#612ac0
#612ac0
rgb(97,42,192)
-
#5f21c9
#5f21c9
rgb(95,33,201)
-
#5d18d2
#5d18d2
rgb(93,24,210)
-
#5a0fdb
#5a0fdb
rgb(90,15,219)
-
#5806e4
#5806e4
rgb(88,6,228)
Tone Color Variation
Below, you can see how #5f21c9 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