#5f42a0 Color Information
In a RGB color space, hex #5f42a0 is composed of 37.3% red, 25.9% green and 62.7% blue. Whereas in a CMYK color space, it is composed of 40.6% cyan, 58.8% magenta, 0% yellow and 37.3% black. It has a hue angle of 258.5 degrees, a saturation of 41.6% and a lightness of 44.3%. #5f42a0 color hex could be obtained by blending #be84ff with #000041. Closest websafe color is: #663399.
-
- R 37
- G 26
- B 63
-
- C 41
- M 59
- Y 0
- K 37
● #5f42a0 color description : Dark moderate violet.
#5f42a0 Color Conversion
The hexadecimal color #5f42a0 has RGB values of R:95, G:66, B:160 and CMYK values of C:0.41, M:0.59, Y:0, K:0.37. Its decimal value is 6242976.
Hex triplet | 5f42a0 | #5f42a0 |
---|---|---|
RGB Decimal | 95, 66, 160 | rgb(95,66,160) |
RGB Percent | 37.3, 25.9, 62.7 | rgb(37.3%,25.9%,62.7%) |
CMYK | 41, 59, 0, 37 | |
HSL | 258.5°, 41.6, 44.3 | hsl(258.5,41.6%,44.3%) |
HSV (or HSB) | 258.5°, 58.8, 62.7 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 35.728, 34.728, -46.875 |
---|---|
XYZ | 13.012, 8.867, 34.282 |
xyY | 0.232, 0.158, 8.867 |
CIE-LCH | 35.728, 58.338, 306.534 |
CIE-LUV | 35.728, 5.246, -68.582 |
Hunter-Lab | 29.778, 25.885, -47.413 |
Binary | 01011111, 01000010, 10100000 |
Color Schemes with #5f42a0
Alternatives to #5f42a0
Below, you can see some colors close to #5f42a0. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#5f42a0 Preview
This text has a font color of #5f42a0.
<span style="color:#5f42a0;">Text here</span>
This paragraph has a background color of #5f42a0.
<p style="background-color:#5f42a0;">Content here</p>
This element has a border color of #5f42a0.
<div style="border:1px solid #5f42a0;">Content here</div>
.text {color:#5f42a0;}
.background {background-color:#5f42a0;}
.border {border:1px solid #5f42a0;}
Shades and Tints of #5f42a0
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, #040307 is the darkest color, while #faf8fc is the lightest one.
-
#040307
#040307
rgb(4,3,7)
-
#0d0915
#0d0915
rgb(13,9,21)
-
#150e23
#150e23
rgb(21,14,35)
-
#1d1431
#1d1431
rgb(29,20,49)
-
#251a3f
#251a3f
rgb(37,26,63)
-
#2e204d
#2e204d
rgb(46,32,77)
-
#36255b
#36255b
rgb(54,37,91)
-
#3e2b68
#3e2b68
rgb(62,43,104)
-
#463176
#463176
rgb(70,49,118)
-
#4f3784
#4f3784
rgb(79,55,132)
-
#573c92
#573c92
rgb(87,60,146)
-
#5f42a0
#5f42a0
rgb(95,66,160)
-
#6748ae
#6748ae
rgb(103,72,174)
-
#7152b8
#7152b8
rgb(113,82,184)
-
#7c60bd
#7c60bd
rgb(124,96,189)
-
#886dc3
#886dc3
rgb(136,109,195)
-
#937bc9
#937bc9
rgb(147,123,201)
-
#9f89ce
#9f89ce
rgb(159,137,206)
-
#aa97d4
#aa97d4
rgb(170,151,212)
-
#b5a5da
#b5a5da
rgb(181,165,218)
-
#c1b3e0
#c1b3e0
rgb(193,179,224)
-
#ccc1e5
#ccc1e5
rgb(204,193,229)
-
#d7cfeb
#d7cfeb
rgb(215,207,235)
-
#e3ddf1
#e3ddf1
rgb(227,221,241)
-
#eeeaf7
#eeeaf7
rgb(238,234,247)
-
#faf8fc
#faf8fc
rgb(250,248,252)
Tones of #5f42a0
A tone is produced by adding gray to any pure hue. In this case, #706d75 is the less saturated color, while #4805dd is the most saturated one.
-
#706d75
#706d75
rgb(112,109,117)
-
#6c657d
#6c657d
rgb(108,101,125)
-
#695c86
#695c86
rgb(105,92,134)
-
#66538f
#66538f
rgb(102,83,143)
-
#624b97
#624b97
rgb(98,75,151)
-
#5f42a0
#5f42a0
rgb(95,66,160)
-
#5c39a9
#5c39a9
rgb(92,57,169)
-
#5831b1
#5831b1
rgb(88,49,177)
-
#5528ba
#5528ba
rgb(85,40,186)
-
#521fc3
#521fc3
rgb(82,31,195)
-
#4e17cb
#4e17cb
rgb(78,23,203)
-
#4b0ed4
#4b0ed4
rgb(75,14,212)
-
#4805dd
#4805dd
rgb(72,5,221)
Color Blindness Simulator
Below, you can see how #5f42a0 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.