#5f42a2 Color Information
In a RGB color space, hex #5f42a2 is composed of 37.3% red, 25.9% green and 63.5% blue. Whereas in a CMYK color space, it is composed of 41.4% cyan, 59.3% magenta, 0% yellow and 36.5% black. It has a hue angle of 258.1 degrees, a saturation of 42.1% and a lightness of 44.7%. #5f42a2 color hex could be obtained by blending #be84ff with #000045. Closest websafe color is: #663399.
-
- R 37
- G 26
- B 64
-
- C 41
- M 59
- Y 0
- K 36
● #5f42a2 color description : Dark moderate violet.
#5f42a2 Color Conversion
The hexadecimal color #5f42a2 has RGB values of R:95, G:66, B:162 and CMYK values of C:0.41, M:0.59, Y:0, K:0.36. Its decimal value is 6242978.
| Hex triplet | 5f42a2 | #5f42a2 |
|---|---|---|
| RGB Decimal | 95, 66, 162 | rgb(95,66,162) |
| RGB Percent | 37.3, 25.9, 63.5 | rgb(37.3%,25.9%,63.5%) |
| CMYK | 41, 59, 0, 36 | |
| HSL | 258.1°, 42.1, 44.7 | hsl(258.1,42.1%,44.7%) |
| HSV (or HSB) | 258.1°, 59.3, 63.5 | |
| Web Safe | 663399 | #663399 |
| CIE-LAB | 35.864, 35.298, -47.857 |
|---|---|
| XYZ | 13.188, 8.938, 35.211 |
| xyY | 0.23, 0.156, 8.938 |
| CIE-LCH | 35.864, 59.466, 306.411 |
| CIE-LUV | 35.864, 5.016, -70.051 |
| Hunter-Lab | 29.896, 26.422, -48.902 |
| Binary | 01011111, 01000010, 10100010 |
Color Schemes with #5f42a2
Alternatives to #5f42a2
Below, you can see some colors close to #5f42a2. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#5f42a2 Preview
This text has a font color of #5f42a2.
<span style="color:#5f42a2;">Text here</span>
This paragraph has a background color of #5f42a2.
<p style="background-color:#5f42a2;">Content here</p>
This element has a border color of #5f42a2.
<div style="border:1px solid #5f42a2;">Content here</div>
.text {color:#5f42a2;}
.background {background-color:#5f42a2;}
.border {border:1px solid #5f42a2;}
Shades and Tints of #5f42a2
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, #050409 is the darkest color, while #fbfafd is the lightest one.
-
#050409
#050409rgb(5,4,9) -
#0d0917
#0d0917rgb(13,9,23) -
#150f25
#150f25rgb(21,15,37) -
#1e1533
#1e1533rgb(30,21,51) -
#261a40
#261a40rgb(38,26,64) -
#2e204e
#2e204ergb(46,32,78) -
#36265c
#36265crgb(54,38,92) -
#3e2b6a
#3e2b6argb(62,43,106) -
#463178
#463178rgb(70,49,120) -
#4f3786
#4f3786rgb(79,55,134) -
#573c94
#573c94rgb(87,60,148) -
#5f42a2
#5f42a2rgb(95,66,162) -
#6748b0
#6748b0rgb(103,72,176)
-
#7153b9
#7153b9rgb(113,83,185) -
#7d60be
#7d60bergb(125,96,190) -
#886ec4
#886ec4rgb(136,110,196) -
#947cca
#947ccargb(148,124,202) -
#9f8acf
#9f8acfrgb(159,138,207) -
#ab98d5
#ab98d5rgb(171,152,213) -
#b6a6db
#b6a6dbrgb(182,166,219) -
#c1b4e0
#c1b4e0rgb(193,180,224) -
#cdc2e6
#cdc2e6rgb(205,194,230) -
#d8d0ec
#d8d0ecrgb(216,208,236) -
#e4def2
#e4def2rgb(228,222,242) -
#efecf7
#efecf7rgb(239,236,247) -
#fbfafd
#fbfafdrgb(251,250,253)
Tones of #5f42a2
A tone is produced by adding gray to any pure hue. In this case, #706e76 is the less saturated color, while #4705df is the most saturated one.
-
#706e76
#706e76rgb(112,110,118) -
#6d657f
#6d657frgb(109,101,127) -
#695c88
#695c88rgb(105,92,136) -
#665490
#665490rgb(102,84,144) -
#624b99
#624b99rgb(98,75,153) -
#5f42a2
#5f42a2rgb(95,66,162) -
#5c39ab
#5c39abrgb(92,57,171) -
#5830b4
#5830b4rgb(88,48,180) -
#5528bc
#5528bcrgb(85,40,188) -
#511fc5
#511fc5rgb(81,31,197) -
#4e16ce
#4e16cergb(78,22,206) -
#4a0dd7
#4a0dd7rgb(74,13,215) -
#4705df
#4705dfrgb(71,5,223)
Color Blindness Simulator
Below, you can see how #5f42a2 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.
