#5f42b5 Color Information
In a RGB color space, hex #5f42b5 is composed of 37.3% red, 25.9% green and 71% blue. Whereas in a CMYK color space, it is composed of 47.5% cyan, 63.5% magenta, 0% yellow and 29% black. It has a hue angle of 255.1 degrees, a saturation of 46.6% and a lightness of 48.4%. #5f42b5 color hex could be obtained by blending #be84ff with #00006b. Closest websafe color is: #6633cc.
-
- R 37
- G 26
- B 71
-
- C 48
- M 64
- Y 0
- K 29
● #5f42b5 color description : Moderate violet.
#5f42b5 Color Conversion
The hexadecimal color #5f42b5 has RGB values of R:95, G:66, B:181 and CMYK values of C:0.48, M:0.64, Y:0, K:0.29. Its decimal value is 6242997.
Hex triplet | 5f42b5 | #5f42b5 |
---|---|---|
RGB Decimal | 95, 66, 181 | rgb(95,66,181) |
RGB Percent | 37.3, 25.9, 71 | rgb(37.3%,25.9%,71%) |
CMYK | 48, 64, 0, 29 | |
HSL | 255.1°, 46.6, 48.4 | hsl(255.1,46.6%,48.4%) |
HSV (or HSB) | 255.1°, 63.5, 71 | |
Web Safe | 6633cc | #6633cc |
CIE-LAB | 37.235, 40.78, -56.957 |
---|---|
XYZ | 15.007, 9.665, 44.788 |
xyY | 0.216, 0.139, 9.665 |
CIE-LCH | 37.235, 70.051, 305.602 |
CIE-LUV | 37.235, 2.946, -83.651 |
Hunter-Lab | 31.089, 31.755, -63.654 |
Binary | 01011111, 01000010, 10110101 |
Color Schemes with #5f42b5
Alternatives to #5f42b5
Below, you can see some colors close to #5f42b5. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#5f42b5 Preview
This text has a font color of #5f42b5.
<span style="color:#5f42b5;">Text here</span>
This paragraph has a background color of #5f42b5.
<p style="background-color:#5f42b5;">Content here</p>
This element has a border color of #5f42b5.
<div style="border:1px solid #5f42b5;">Content here</div>
.text {color:#5f42b5;}
.background {background-color:#5f42b5;}
.border {border:1px solid #5f42b5;}
Shades and Tints of #5f42b5
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, #040309 is the darkest color, while #faf9fd is the lightest one.
-
#040309
#040309
rgb(4,3,9)
-
#0c0817
#0c0817
rgb(12,8,23)
-
#140e25
#140e25
rgb(20,14,37)
-
#1b1334
#1b1334
rgb(27,19,52)
-
#231842
#231842
rgb(35,24,66)
-
#2a1d50
#2a1d50
rgb(42,29,80)
-
#32235f
#32235f
rgb(50,35,95)
-
#39286d
#39286d
rgb(57,40,109)
-
#412d7c
#412d7c
rgb(65,45,124)
-
#48328a
#48328a
rgb(72,50,138)
-
#503898
#503898
rgb(80,56,152)
-
#573da7
#573da7
rgb(87,61,167)
-
#5f42b5
#5f42b5
rgb(95,66,181)
-
#694dbe
#694dbe
rgb(105,77,190)
-
#755bc3
#755bc3
rgb(117,91,195)
-
#8169c8
#8169c8
rgb(129,105,200)
-
#8d78ce
#8d78ce
rgb(141,120,206)
-
#9a86d3
#9a86d3
rgb(154,134,211)
-
#a695d8
#a695d8
rgb(166,149,216)
-
#b2a3dd
#b2a3dd
rgb(178,163,221)
-
#beb1e3
#beb1e3
rgb(190,177,227)
-
#cac0e8
#cac0e8
rgb(202,192,232)
-
#d6ceed
#d6ceed
rgb(214,206,237)
-
#e2dcf2
#e2dcf2
rgb(226,220,242)
-
#eeebf8
#eeebf8
rgb(238,235,248)
-
#faf9fd
#faf9fd
rgb(250,249,253)
Tones of #5f42b5
A tone is produced by adding gray to any pure hue. In this case, #7b7b7c is the less saturated color, while #4309ee is the most saturated one.
-
#7b7b7c
#7b7b7c
rgb(123,123,124)
-
#777286
#777286
rgb(119,114,134)
-
#72688f
#72688f
rgb(114,104,143)
-
#6d5f99
#6d5f99
rgb(109,95,153)
-
#6855a2
#6855a2
rgb(104,85,162)
-
#644cac
#644cac
rgb(100,76,172)
-
#5f42b5
#5f42b5
rgb(95,66,181)
-
#5a39bf
#5a39bf
rgb(90,57,191)
-
#562fc8
#562fc8
rgb(86,47,200)
-
#5126d2
#5126d2
rgb(81,38,210)
-
#4c1cdb
#4c1cdb
rgb(76,28,219)
-
#4713e5
#4713e5
rgb(71,19,229)
-
#4309ee
#4309ee
rgb(67,9,238)
Color Blindness Simulator
Below, you can see how #5f42b5 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.