#5f21b2 Color Information
In a RGB color space, hex #5f21b2 is composed of 37.3% red, 12.9% green and 69.8% blue. Whereas in a CMYK color space, it is composed of 46.6% cyan, 81.5% magenta, 0% yellow and 30.2% black. It has a hue angle of 265.7 degrees, a saturation of 68.7% and a lightness of 41.4%. #5f21b2 color hex could be obtained by blending #be42ff with #000065. Closest websafe color is: #663399.
-
- R 37
- G 13
- B 70
-
- C 47
- M 81
- Y 0
- K 30
● #5f21b2 color description : Dark violet.
#5f21b2 Color Conversion
The hexadecimal color #5f21b2 has RGB values of R:95, G:33, B:178 and CMYK values of C:0.47, M:0.81, Y:0, K:0.3. Its decimal value is 6234546.
| Hex triplet | 5f21b2 | #5f21b2 |
|---|---|---|
| RGB Decimal | 95, 33, 178 | rgb(95,33,178) |
| RGB Percent | 37.3, 12.9, 69.8 | rgb(37.3%,12.9%,69.8%) |
| CMYK | 47, 81, 0, 30 | |
| HSL | 265.7°, 68.7, 41.4 | hsl(265.7,68.7%,41.4%) |
| HSV (or HSB) | 265.7°, 81.5, 69.8 | |
| Web Safe | 663399 | #663399 |
| CIE-LAB | 31.196, 56.138, -65.04 |
|---|---|
| XYZ | 13.298, 6.735, 42.716 |
| xyY | 0.212, 0.107, 6.735 |
| CIE-LCH | 31.196, 85.916, 310.798 |
| CIE-LUV | 31.196, 8.732, -88.551 |
| Hunter-Lab | 25.952, 46.048, -79.425 |
| Binary | 01011111, 00100001, 10110010 |
Color Schemes with #5f21b2
Alternatives to #5f21b2
Below, you can see some colors close to #5f21b2. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#5f21b2 Preview
This text has a font color of #5f21b2.
<span style="color:#5f21b2;">Text here</span>
This paragraph has a background color of #5f21b2.
<p style="background-color:#5f21b2;">Content here</p>
This element has a border color of #5f21b2.
<div style="border:1px solid #5f21b2;">Content here</div>
.text {color:#5f21b2;}
.background {background-color:#5f21b2;}
.border {border:1px solid #5f21b2;}
Shades and Tints of #5f21b2
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, #07020d is the darkest color, while #fcfbfe is the lightest one.
-
#07020d
#07020drgb(7,2,13) -
#10051d
#10051drgb(16,5,29) -
#18082e
#18082ergb(24,8,46) -
#210c3e
#210c3ergb(33,12,62) -
#2a0f4f
#2a0f4frgb(42,15,79) -
#33125f
#33125frgb(51,18,95) -
#3c1570
#3c1570rgb(60,21,112) -
#451880
#451880rgb(69,24,128) -
#4d1b91
#4d1b91rgb(77,27,145) -
#561ea1
#561ea1rgb(86,30,161) -
#5f21b2
#5f21b2rgb(95,33,178) -
#6824c3
#6824c3rgb(104,36,195) -
#7127d3
#7127d3rgb(113,39,211)
-
#7b34d9
#7b34d9rgb(123,52,217) -
#8645dd
#8645ddrgb(134,69,221) -
#9156e0
#9156e0rgb(145,86,224) -
#9b66e3
#9b66e3rgb(155,102,227) -
#a677e6
#a677e6rgb(166,119,230) -
#b187e9
#b187e9rgb(177,135,233) -
#bc98ec
#bc98ecrgb(188,152,236) -
#c6a8ef
#c6a8efrgb(198,168,239) -
#d1b9f2
#d1b9f2rgb(209,185,242) -
#dcc9f5
#dcc9f5rgb(220,201,245) -
#e7daf8
#e7daf8rgb(231,218,248) -
#f2eafb
#f2eafbrgb(242,234,251) -
#fcfbfe
#fcfbfergb(252,251,254)
Tones of #5f21b2
A tone is produced by adding gray to any pure hue. In this case, #686271 is the less saturated color, while #5a01d2 is the most saturated one.
-
#686271
#686271rgb(104,98,113) -
#675a79
#675a79rgb(103,90,121) -
#665281
#665281rgb(102,82,129) -
#654a89
#654a89rgb(101,74,137) -
#644192
#644192rgb(100,65,146) -
#63399a
#63399argb(99,57,154) -
#6131a2
#6131a2rgb(97,49,162) -
#6029aa
#6029aargb(96,41,170) -
#5f21b2
#5f21b2rgb(95,33,178) -
#5e19ba
#5e19bargb(94,25,186) -
#5d11c2
#5d11c2rgb(93,17,194) -
#5b09ca
#5b09cargb(91,9,202) -
#5a01d2
#5a01d2rgb(90,1,210)
Color Blindness Simulator
Below, you can see how #5f21b2 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.
