#5f31a8 hex color
In a RGB color space, hex #5f31a8 is composed of 37.3% red, 19.2% green and 65.9% blue. Whereas in a CMYK color space, it is composed of 43.5% cyan, 70.8% magenta, 0% yellow and 34.1% black. It has a hue angle of 263.2 degrees, a saturation of 54.8% and a lightness of 42.5%. #5f31a8 color hex could be obtained by blending #be62ff with #000051. Closest websafe color is: #663399.
-
- R 37
- G 19
- B 66
RGB color chart
-
- C 43
- M 71
- Y 0
- K 34
CMYK color chart
● #5f31a8 color description : Dark violet.
The hexadecimal color #5f31a8 has RGB values of R:95, G:49, B:168 and CMYK values of C:0.43, M:0.71, Y:0, K:0.34. Its decimal value is 6238632.
Hex triplet | 5f31a8 | #5f31a8 |
---|---|---|
RGB Decimal | 95, 49, 168 | rgb(95,49,168) |
RGB Percent | 37.3, 19.2, 65.9 | rgb(37.3%,19.2%,65.9%) |
CMYK | 43, 71, 0, 34 | |
HSL | 263.2°, 54.8, 42.5 | hsl(263.2,54.8%,42.5%) |
HSV (or HSB) | 263.2°, 70.8, 65.9 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 32.825, 46.398, -56.389 |
---|---|
XYZ | 12.884, 7.457, 37.804 |
xyY | 0.222, 0.128, 7.457 |
CIE-LCH | 32.825, 73.024, 309.448 |
CIE-LUV | 32.825, 7.924, -79.599 |
Hunter-Lab | 27.307, 36.436, -62.967 |
Binary | 01011111, 00110001, 10101000 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5f31a8. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5f31a8
This text has a font color of #5f31a8.
<span style="color:#5f31a8;">Text here</span>
#5f31a8 background color
This paragraph has a background color of #5f31a8.
<p style="background-color:#5f31a8;">Content here</p>
#5f31a8 border color
This element has a border color of #5f31a8.
<div style="border:1px solid #5f31a8;">Content here</div>
CSS codes
.text {color:#5f31a8;}
.background {background-color:#5f31a8;}
.border {border:1px solid #5f31a8;}
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, #010001 is the darkest color, while #f5f1fb is the lightest one.
-
#010001
#010001
rgb(1,0,1)
-
#090510
#090510
rgb(9,5,16)
-
#12091f
#12091f
rgb(18,9,31)
-
#1a0e2f
#1a0e2f
rgb(26,14,47)
-
#23123e
#23123e
rgb(35,18,62)
-
#2b164d
#2b164d
rgb(43,22,77)
-
#341b5c
#341b5c
rgb(52,27,92)
-
#3d1f6b
#3d1f6b
rgb(61,31,107)
-
#45247a
#45247a
rgb(69,36,122)
-
#4e288a
#4e288a
rgb(78,40,138)
-
#562d99
#562d99
rgb(86,45,153)
-
#5f31a8
#5f31a8
rgb(95,49,168)
-
#6835b7
#6835b7
rgb(104,53,183)
Shade Color Variation
-
#703bc6
#703bc6
rgb(112,59,198)
-
#7b4aca
#7b4aca
rgb(123,74,202)
-
#8659cf
#8659cf
rgb(134,89,207)
-
#9168d3
#9168d3
rgb(145,104,211)
-
#9c77d7
#9c77d7
rgb(156,119,215)
-
#a786dc
#a786dc
rgb(167,134,220)
-
#b296e0
#b296e0
rgb(178,150,224)
-
#bea5e5
#bea5e5
rgb(190,165,229)
-
#c9b4e9
#c9b4e9
rgb(201,180,233)
-
#d4c3ee
#d4c3ee
rgb(212,195,238)
-
#dfd2f2
#dfd2f2
rgb(223,210,242)
-
#eae2f6
#eae2f6
rgb(234,226,246)
-
#f5f1fb
#f5f1fb
rgb(245,241,251)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #6c6b6e is the less saturated color, while #5607d2 is the most saturated one.
-
#6c6b6e
#6c6b6e
rgb(108,107,110)
-
#6a6376
#6a6376
rgb(106,99,118)
-
#685b7e
#685b7e
rgb(104,91,126)
-
#675287
#675287
rgb(103,82,135)
-
#654a8f
#654a8f
rgb(101,74,143)
-
#634297
#634297
rgb(99,66,151)
-
#6139a0
#6139a0
rgb(97,57,160)
-
#5f31a8
#5f31a8
rgb(95,49,168)
-
#5d29b0
#5d29b0
rgb(93,41,176)
-
#5b20b9
#5b20b9
rgb(91,32,185)
-
#5918c1
#5918c1
rgb(89,24,193)
-
#5710c9
#5710c9
rgb(87,16,201)
-
#5607d2
#5607d2
rgb(86,7,210)
Tone Color Variation
Below, you can see how #5f31a8 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.
Monochromacy
Dichromacy