#5f21a8 Color Information
In a RGB color space, hex #5f21a8 is composed of 37.3% red, 12.9% green and 65.9% blue. Whereas in a CMYK color space, it is composed of 43.5% cyan, 80.4% magenta, 0% yellow and 34.1% black. It has a hue angle of 267.6 degrees, a saturation of 67.2% and a lightness of 39.4%. #5f21a8 color hex could be obtained by blending #be42ff with #000051. Closest websafe color is: #663399.
-
- R 37
- G 13
- B 66
-
- C 43
- M 80
- Y 0
- K 34
● #5f21a8 color description : Dark violet.
#5f21a8 Color Conversion
The hexadecimal color #5f21a8 has RGB values of R:95, G:33, B:168 and CMYK values of C:0.43, M:0.8, Y:0, K:0.34. Its decimal value is 6234536.
| Hex triplet | 5f21a8 | #5f21a8 |
|---|---|---|
| RGB Decimal | 95, 33, 168 | rgb(95,33,168) |
| RGB Percent | 37.3, 12.9, 65.9 | rgb(37.3%,12.9%,65.9%) |
| CMYK | 43, 80, 0, 34 | |
| HSL | 267.6°, 67.2, 39.4 | hsl(267.6,67.2%,39.4%) |
| HSV (or HSB) | 267.6°, 80.4, 65.9 | |
| Web Safe | 663399 | #663399 |
| CIE-LAB | 30.273, 53.656, -60.558 |
|---|---|
| XYZ | 12.33, 6.348, 37.619 |
| xyY | 0.219, 0.113, 6.348 |
| CIE-LCH | 30.273, 80.909, 311.542 |
| CIE-LUV | 30.273, 10.204, -82.305 |
| Hunter-Lab | 25.195, 43.264, -70.892 |
| Binary | 01011111, 00100001, 10101000 |
Color Schemes with #5f21a8
Alternatives to #5f21a8
Below, you can see some colors close to #5f21a8. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#5f21a8 Preview
This text has a font color of #5f21a8.
<span style="color:#5f21a8;">Text here</span>
This paragraph has a background color of #5f21a8.
<p style="background-color:#5f21a8;">Content here</p>
This element has a border color of #5f21a8.
<div style="border:1px solid #5f21a8;">Content here</div>
.text {color:#5f21a8;}
.background {background-color:#5f21a8;}
.border {border:1px solid #5f21a8;}
Shades and Tints of #5f21a8
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, #020104 is the darkest color, while #f7f3fd is the lightest one.
-
#020104
#020104rgb(2,1,4) -
#0c0414
#0c0414rgb(12,4,20) -
#150725
#150725rgb(21,7,37) -
#1e0a35
#1e0a35rgb(30,10,53) -
#270e46
#270e46rgb(39,14,70) -
#311156
#311156rgb(49,17,86) -
#3a1466
#3a1466rgb(58,20,102) -
#431777
#431777rgb(67,23,119) -
#4c1b87
#4c1b87rgb(76,27,135) -
#561e98
#561e98rgb(86,30,152) -
#5f21a8
#5f21a8rgb(95,33,168) -
#6824b8
#6824b8rgb(104,36,184) -
#7227c9
#7227c9rgb(114,39,201)
-
#7b2ed6
#7b2ed6rgb(123,46,214) -
#853ed9
#853ed9rgb(133,62,217) -
#904fdc
#904fdcrgb(144,79,220) -
#9a5fe0
#9a5fe0rgb(154,95,224) -
#a46fe3
#a46fe3rgb(164,111,227) -
#af80e6
#af80e6rgb(175,128,230) -
#b990e9
#b990e9rgb(185,144,233) -
#c3a1ec
#c3a1ecrgb(195,161,236) -
#ceb1f0
#ceb1f0rgb(206,177,240) -
#d8c1f3
#d8c1f3rgb(216,193,243) -
#e3d2f6
#e3d2f6rgb(227,210,246) -
#ede2f9
#ede2f9rgb(237,226,249) -
#f7f3fd
#f7f3fdrgb(247,243,253)
Tones of #5f21a8
A tone is produced by adding gray to any pure hue. In this case, #645f6a is the less saturated color, while #5c02c7 is the most saturated one.
-
#645f6a
#645f6argb(100,95,106) -
#635772
#635772rgb(99,87,114) -
#634f7a
#634f7argb(99,79,122) -
#624881
#624881rgb(98,72,129) -
#624089
#624089rgb(98,64,137) -
#613891
#613891rgb(97,56,145) -
#603099
#603099rgb(96,48,153) -
#6029a0
#6029a0rgb(96,41,160) -
#5f21a8
#5f21a8rgb(95,33,168) -
#5e19b0
#5e19b0rgb(94,25,176) -
#5e12b7
#5e12b7rgb(94,18,183) -
#5d0abf
#5d0abfrgb(93,10,191) -
#5c02c7
#5c02c7rgb(92,2,199)
Color Blindness Simulator
Below, you can see how #5f21a8 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.
