#5f0c98 hex color
In a RGB color space, hex #5f0c98 is composed of 37.3% red, 4.7% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 37.5% cyan, 92.1% magenta, 0% yellow and 40.4% black. It has a hue angle of 275.6 degrees, a saturation of 85.4% and a lightness of 32.2%. #5f0c98 color hex could be obtained by blending #be18ff with #000031. Closest websafe color is: #660099.
-
- R 37
- G 5
- B 60
RGB color chart
-
- C 38
- M 92
- Y 0
- K 40
CMYK color chart
● #5f0c98 color description : Dark violet.
The hexadecimal color #5f0c98 has RGB values of R:95, G:12, B:152 and CMYK values of C:0.38, M:0.92, Y:0, K:0.4. Its decimal value is 6229144.
Hex triplet | 5f0c98 | #5f0c98 |
---|---|---|
RGB Decimal | 95, 12, 152 | rgb(95,12,152) |
RGB Percent | 37.3, 4.7, 59.6 | rgb(37.3%,4.7%,59.6%) |
CMYK | 38, 92, 0, 40 | |
HSL | 275.6°, 85.4, 32.2 | hsl(275.6,85.4%,32.2%) |
HSV (or HSB) | 275.6°, 92.1, 59.6 | |
Web Safe | 660099 | #660099 |
CIE-LAB | 26.629, 56.299, -56.799 |
---|---|
XYZ | 10.517, 4.963, 30.108 |
xyY | 0.231, 0.109, 4.963 |
CIE-LCH | 26.629, 79.974, 314.747 |
CIE-LUV | 26.629, 14.597, -73.914 |
Hunter-Lab | 22.278, 45.284, -64.535 |
Binary | 01011111, 00001100, 10011000 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #5f0c98. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5f0c98
This text has a font color of #5f0c98.
<span style="color:#5f0c98;">Text here</span>
#5f0c98 background color
This paragraph has a background color of #5f0c98.
<p style="background-color:#5f0c98;">Content here</p>
#5f0c98 border color
This element has a border color of #5f0c98.
<div style="border:1px solid #5f0c98;">Content here</div>
CSS codes
.text {color:#5f0c98;}
.background {background-color:#5f0c98;}
.border {border:1px solid #5f0c98;}
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, #040107 is the darkest color, while #faf3fe is the lightest one.
-
#040107
#040107
rgb(4,1,7)
-
#0f0219
#0f0219
rgb(15,2,25)
-
#1b032b
#1b032b
rgb(27,3,43)
-
#26053d
#26053d
rgb(38,5,61)
-
#32064f
#32064f
rgb(50,6,79)
-
#3d0861
#3d0861
rgb(61,8,97)
-
#480974
#480974
rgb(72,9,116)
-
#540b86
#540b86
rgb(84,11,134)
-
#5f0c98
#5f0c98
rgb(95,12,152)
-
#6a0daa
#6a0daa
rgb(106,13,170)
-
#760fbc
#760fbc
rgb(118,15,188)
-
#8110cf
#8110cf
rgb(129,16,207)
-
#8c12e1
#8c12e1
rgb(140,18,225)
Shade Color Variation
-
#9719ed
#9719ed
rgb(151,25,237)
-
#9f2bee
#9f2bee
rgb(159,43,238)
-
#a73ef0
#a73ef0
rgb(167,62,240)
-
#af50f1
#af50f1
rgb(175,80,241)
-
#b862f3
#b862f3
rgb(184,98,243)
-
#c074f4
#c074f4
rgb(192,116,244)
-
#c886f5
#c886f5
rgb(200,134,245)
-
#d098f7
#d098f7
rgb(208,152,247)
-
#d9abf8
#d9abf8
rgb(217,171,248)
-
#e1bdfa
#e1bdfa
rgb(225,189,250)
-
#e9cffb
#e9cffb
rgb(233,207,251)
-
#f1e1fd
#f1e1fd
rgb(241,225,253)
-
#faf3fe
#faf3fe
rgb(250,243,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #525153 is the less saturated color, while #60069e is the most saturated one.
-
#525153
#525153
rgb(82,81,83)
-
#534b59
#534b59
rgb(83,75,89)
-
#54455f
#54455f
rgb(84,69,95)
-
#563e66
#563e66
rgb(86,62,102)
-
#57386c
#57386c
rgb(87,56,108)
-
#583272
#583272
rgb(88,50,114)
-
#592c78
#592c78
rgb(89,44,120)
-
#5a257f
#5a257f
rgb(90,37,127)
-
#5b1f85
#5b1f85
rgb(91,31,133)
-
#5d198b
#5d198b
rgb(93,25,139)
-
#5e1292
#5e1292
rgb(94,18,146)
-
#5f0c98
#5f0c98
rgb(95,12,152)
-
#60069e
#60069e
rgb(96,6,158)
Tone Color Variation
Below, you can see how #5f0c98 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