#5f21a5 Color Information
In a RGB color space, hex #5f21a5 is composed of 37.3% red, 12.9% green and 64.7% blue. Whereas in a CMYK color space, it is composed of 42.4% cyan, 80% magenta, 0% yellow and 35.3% black. It has a hue angle of 268.2 degrees, a saturation of 66.7% and a lightness of 38.8%. #5f21a5 color hex could be obtained by blending #be42ff with #00004b. Closest websafe color is: #663399.
-
- R 37
- G 13
- B 65
-
- C 42
- M 80
- Y 0
- K 35
● #5f21a5 color description : Dark violet.
#5f21a5 Color Conversion
The hexadecimal color #5f21a5 has RGB values of R:95, G:33, B:165 and CMYK values of C:0.42, M:0.8, Y:0, K:0.35. Its decimal value is 6234533.
| Hex triplet | 5f21a5 | #5f21a5 |
|---|---|---|
| RGB Decimal | 95, 33, 165 | rgb(95,33,165) |
| RGB Percent | 37.3, 12.9, 64.7 | rgb(37.3%,12.9%,64.7%) |
| CMYK | 42, 80, 0, 35 | |
| HSL | 268.2°, 66.7, 38.8 | hsl(268.2,66.7%,38.8%) |
| HSV (or HSB) | 268.2°, 80, 64.7 | |
| Web Safe | 663399 | #663399 |
| CIE-LAB | 30.003, 52.915, -59.19 |
|---|---|
| XYZ | 12.054, 6.237, 36.164 |
| xyY | 0.221, 0.115, 6.237 |
| CIE-LCH | 30.003, 79.395, 311.796 |
| CIE-LUV | 30.003, 10.668, -80.407 |
| Hunter-Lab | 24.975, 42.445, -68.372 |
| Binary | 01011111, 00100001, 10100101 |
Color Schemes with #5f21a5
Alternatives to #5f21a5
Below, you can see some colors close to #5f21a5. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#5f21a5 Preview
This text has a font color of #5f21a5.
<span style="color:#5f21a5;">Text here</span>
This paragraph has a background color of #5f21a5.
<p style="background-color:#5f21a5;">Content here</p>
This element has a border color of #5f21a5.
<div style="border:1px solid #5f21a5;">Content here</div>
.text {color:#5f21a5;}
.background {background-color:#5f21a5;}
.border {border:1px solid #5f21a5;}
Shades and Tints of #5f21a5
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, #010002 is the darkest color, while #f6f0fc is the lightest one.
-
#010002
#010002rgb(1,0,2) -
#0a0412
#0a0412rgb(10,4,18) -
#140722
#140722rgb(20,7,34) -
#1d0a33
#1d0a33rgb(29,10,51) -
#270d43
#270d43rgb(39,13,67) -
#301153
#301153rgb(48,17,83) -
#391464
#391464rgb(57,20,100) -
#431774
#431774rgb(67,23,116) -
#4c1a84
#4c1a84rgb(76,26,132) -
#561e95
#561e95rgb(86,30,149) -
#5f21a5
#5f21a5rgb(95,33,165) -
#6824b5
#6824b5rgb(104,36,181) -
#7228c6
#7228c6rgb(114,40,198)
-
#7b2cd5
#7b2cd5rgb(123,44,213) -
#863cd8
#863cd8rgb(134,60,216) -
#904ddb
#904ddbrgb(144,77,219) -
#9a5ddf
#9a5ddfrgb(154,93,223) -
#a46de2
#a46de2rgb(164,109,226) -
#ae7ee5
#ae7ee5rgb(174,126,229) -
#b98ee8
#b98ee8rgb(185,142,232) -
#c39eec
#c39eecrgb(195,158,236) -
#cdafef
#cdafefrgb(205,175,239) -
#d7bff2
#d7bff2rgb(215,191,242) -
#e1d0f6
#e1d0f6rgb(225,208,246) -
#ece0f9
#ece0f9rgb(236,224,249) -
#f6f0fc
#f6f0fcrgb(246,240,252)
Tones of #5f21a5
A tone is produced by adding gray to any pure hue. In this case, #635e68 is the less saturated color, while #5d03c3 is the most saturated one.
-
#635e68
#635e68rgb(99,94,104) -
#625670
#625670rgb(98,86,112) -
#624f77
#624f77rgb(98,79,119) -
#61477f
#61477frgb(97,71,127) -
#613f87
#613f87rgb(97,63,135) -
#60388e
#60388ergb(96,56,142) -
#603096
#603096rgb(96,48,150) -
#5f299d
#5f299drgb(95,41,157) -
#5f21a5
#5f21a5rgb(95,33,165) -
#5f19ad
#5f19adrgb(95,25,173) -
#5e12b4
#5e12b4rgb(94,18,180) -
#5e0abc
#5e0abcrgb(94,10,188) -
#5d03c3
#5d03c3rgb(93,3,195)
Color Blindness Simulator
Below, you can see how #5f21a5 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.
