#5f42a5 Color Information
In a RGB color space, hex #5f42a5 is composed of 37.3% red, 25.9% green and 64.7% blue. Whereas in a CMYK color space, it is composed of 42.4% cyan, 60% magenta, 0% yellow and 35.3% black. It has a hue angle of 257.6 degrees, a saturation of 42.9% and a lightness of 45.3%. #5f42a5 color hex could be obtained by blending #be84ff with #00004b. Closest websafe color is: #663399.
-
- R 37
- G 26
- B 65
-
- C 42
- M 60
- Y 0
- K 35
● #5f42a5 color description : Dark moderate violet.
#5f42a5 Color Conversion
The hexadecimal color #5f42a5 has RGB values of R:95, G:66, B:165 and CMYK values of C:0.42, M:0.6, Y:0, K:0.35. Its decimal value is 6242981.
Hex triplet | 5f42a5 | #5f42a5 |
---|---|---|
RGB Decimal | 95, 66, 165 | rgb(95,66,165) |
RGB Percent | 37.3, 25.9, 64.7 | rgb(37.3%,25.9%,64.7%) |
CMYK | 42, 60, 0, 35 | |
HSL | 257.6°, 42.9, 45.3 | hsl(257.6,42.9%,45.3%) |
HSV (or HSB) | 257.6°, 60, 64.7 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 36.072, 36.155, -49.321 |
---|---|
XYZ | 13.458, 9.046, 36.632 |
xyY | 0.228, 0.153, 9.046 |
CIE-LCH | 36.072, 61.154, 306.243 |
CIE-LUV | 36.072, 4.675, -72.242 |
Hunter-Lab | 30.076, 27.238, -51.161 |
Binary | 01011111, 01000010, 10100101 |
Color Schemes with #5f42a5
Alternatives to #5f42a5
Below, you can see some colors close to #5f42a5. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#5f42a5 Preview
This text has a font color of #5f42a5.
<span style="color:#5f42a5;">Text here</span>
This paragraph has a background color of #5f42a5.
<p style="background-color:#5f42a5;">Content here</p>
This element has a border color of #5f42a5.
<div style="border:1px solid #5f42a5;">Content here</div>
.text {color:#5f42a5;}
.background {background-color:#5f42a5;}
.border {border:1px solid #5f42a5;}
Shades and Tints of #5f42a5
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, #06040b is the darkest color, while #fcfcfe is the lightest one.
-
#06040b
#06040b
rgb(6,4,11)
-
#0e0a19
#0e0a19
rgb(14,10,25)
-
#161027
#161027
rgb(22,16,39)
-
#1e1535
#1e1535
rgb(30,21,53)
-
#271b43
#271b43
rgb(39,27,67)
-
#2f2051
#2f2051
rgb(47,32,81)
-
#37265f
#37265f
rgb(55,38,95)
-
#3f2c6d
#3f2c6d
rgb(63,44,109)
-
#47317b
#47317b
rgb(71,49,123)
-
#4f3789
#4f3789
rgb(79,55,137)
-
#573c97
#573c97
rgb(87,60,151)
-
#5f42a5
#5f42a5
rgb(95,66,165)
-
#6748b3
#6748b3
rgb(103,72,179)
-
#7254ba
#7254ba
rgb(114,84,186)
-
#7d62c0
#7d62c0
rgb(125,98,192)
-
#8970c6
#8970c6
rgb(137,112,198)
-
#947ecb
#947ecb
rgb(148,126,203)
-
#a08cd1
#a08cd1
rgb(160,140,209)
-
#ac9ad7
#ac9ad7
rgb(172,154,215)
-
#b7a8dc
#b7a8dc
rgb(183,168,220)
-
#c3b6e2
#c3b6e2
rgb(195,182,226)
-
#cec4e7
#cec4e7
rgb(206,196,231)
-
#dad2ed
#dad2ed
rgb(218,210,237)
-
#e5e0f3
#e5e0f3
rgb(229,224,243)
-
#f1eef8
#f1eef8
rgb(241,238,248)
-
#fcfcfe
#fcfcfe
rgb(252,252,254)
Tones of #5f42a5
A tone is produced by adding gray to any pure hue. In this case, #716e79 is the less saturated color, while #4504e3 is the most saturated one.
-
#716e79
#716e79
rgb(113,110,121)
-
#6e6681
#6e6681
rgb(110,102,129)
-
#6a5d8a
#6a5d8a
rgb(106,93,138)
-
#665493
#665493
rgb(102,84,147)
-
#634b9c
#634b9c
rgb(99,75,156)
-
#5f42a5
#5f42a5
rgb(95,66,165)
-
#5b39ae
#5b39ae
rgb(91,57,174)
-
#5830b7
#5830b7
rgb(88,48,183)
-
#5427c0
#5427c0
rgb(84,39,192)
-
#501ec9
#501ec9
rgb(80,30,201)
-
#4d16d1
#4d16d1
rgb(77,22,209)
-
#490dda
#490dda
rgb(73,13,218)
-
#4504e3
#4504e3
rgb(69,4,227)
Color Blindness Simulator
Below, you can see how #5f42a5 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.