#5f3198 hex color
In a RGB color space, hex #5f3198 is composed of 37.3% red, 19.2% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 37.5% cyan, 67.8% magenta, 0% yellow and 40.4% black. It has a hue angle of 266.8 degrees, a saturation of 51.2% and a lightness of 39.4%. #5f3198 color hex could be obtained by blending #be62ff with #000031. Closest websafe color is: #663399.
-
- R 37
- G 19
- B 60
RGB color chart
-
- C 38
- M 68
- Y 0
- K 40
CMYK color chart
● #5f3198 color description : Dark moderate violet.
The hexadecimal color #5f3198 has RGB values of R:95, G:49, B:152 and CMYK values of C:0.38, M:0.68, Y:0, K:0.4. Its decimal value is 6238616.
Hex triplet | 5f3198 | #5f3198 |
---|---|---|
RGB Decimal | 95, 49, 152 | rgb(95,49,152) |
RGB Percent | 37.3, 19.2, 59.6 | rgb(37.3%,19.2%,59.6%) |
CMYK | 38, 68, 0, 40 | |
HSL | 266.8°, 51.2, 39.4 | hsl(266.8,51.2%,39.4%) |
HSV (or HSB) | 266.8°, 67.8, 59.6 | |
Web Safe | 663399 | #663399 |
CIE-LAB | 31.57, 42.142, -48.743 |
---|---|
XYZ | 11.484, 6.897, 30.43 |
xyY | 0.235, 0.141, 6.897 |
CIE-LCH | 31.57, 64.435, 310.846 |
CIE-LUV | 31.57, 10.225, -68.685 |
Hunter-Lab | 26.261, 32.102, -50.319 |
Binary | 01011111, 00110001, 10011000 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5f3198. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5f3198
This text has a font color of #5f3198.
<span style="color:#5f3198;">Text here</span>
#5f3198 background color
This paragraph has a background color of #5f3198.
<p style="background-color:#5f3198;">Content here</p>
#5f3198 border color
This element has a border color of #5f3198.
<div style="border:1px solid #5f3198;">Content here</div>
CSS codes
.text {color:#5f3198;}
.background {background-color:#5f3198;}
.border {border:1px solid #5f3198;}
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, #020104 is the darkest color, while #f7f4fb is the lightest one.
-
#020104
#020104
rgb(2,1,4)
-
#0c0612
#0c0612
rgb(12,6,18)
-
#150b21
#150b21
rgb(21,11,33)
-
#1e1030
#1e1030
rgb(30,16,48)
-
#27143f
#27143f
rgb(39,20,63)
-
#31194e
#31194e
rgb(49,25,78)
-
#3a1e5d
#3a1e5d
rgb(58,30,93)
-
#43236b
#43236b
rgb(67,35,107)
-
#4c277a
#4c277a
rgb(76,39,122)
-
#562c89
#562c89
rgb(86,44,137)
-
#5f3198
#5f3198
rgb(95,49,152)
-
#6836a7
#6836a7
rgb(104,54,167)
-
#723bb6
#723bb6
rgb(114,59,182)
Shade Color Variation
-
#7b42c2
#7b42c2
rgb(123,66,194)
-
#8551c7
#8551c7
rgb(133,81,199)
-
#905fcc
#905fcc
rgb(144,95,204)
-
#9a6ed0
#9a6ed0
rgb(154,110,208)
-
#a47dd5
#a47dd5
rgb(164,125,213)
-
#af8cda
#af8cda
rgb(175,140,218)
-
#b99bdf
#b99bdf
rgb(185,155,223)
-
#c3aae3
#c3aae3
rgb(195,170,227)
-
#ceb8e8
#ceb8e8
rgb(206,184,232)
-
#d8c7ed
#d8c7ed
rgb(216,199,237)
-
#e3d6f2
#e3d6f2
rgb(227,214,242)
-
#ede5f7
#ede5f7
rgb(237,229,247)
-
#f7f4fb
#f7f4fb
rgb(247,244,251)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #645f6a is the less saturated color, while #5a03c6 is the most saturated one.
-
#645f6a
#645f6a
rgb(100,95,106)
-
#635871
#635871
rgb(99,88,113)
-
#625079
#625079
rgb(98,80,121)
-
#614881
#614881
rgb(97,72,129)
-
#614089
#614089
rgb(97,64,137)
-
#603990
#603990
rgb(96,57,144)
-
#5f3198
#5f3198
rgb(95,49,152)
-
#5e29a0
#5e29a0
rgb(94,41,160)
-
#5d22a7
#5d22a7
rgb(93,34,167)
-
#5d1aaf
#5d1aaf
rgb(93,26,175)
-
#5c12b7
#5c12b7
rgb(92,18,183)
-
#5b0abf
#5b0abf
rgb(91,10,191)
-
#5a03c6
#5a03c6
rgb(90,3,198)
Tone Color Variation
Below, you can see how #5f3198 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