#5f0098 hex color
In a RGB color space, hex #5f0098 is composed of 37.3% red, 0% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 37.5% cyan, 100% magenta, 0% yellow and 40.4% black. It has a hue angle of 277.5 degrees, a saturation of 100% and a lightness of 29.8%. #5f0098 color hex could be obtained by blending #be00ff with #000031. Closest websafe color is: #660099.
-
- R 37
- G 0
- B 60
RGB color chart
-
- C 38
- M 100
- Y 0
- K 40
CMYK color chart
● #5f0098 color description : Dark violet.
The hexadecimal color #5f0098 has RGB values of R:95, G:0, B:152 and CMYK values of C:0.38, M:1, Y:0, K:0.4. Its decimal value is 6226072.
Hex triplet | 5f0098 | #5f0098 |
---|---|---|
RGB Decimal | 95, 0, 152 | rgb(95,0,152) |
RGB Percent | 37.3, 0, 59.6 | rgb(37.3%,0%,59.6%) |
CMYK | 38, 100, 0, 40 | |
HSL | 277.5°, 100, 29.8 | hsl(277.5,100%,29.8%) |
HSV (or HSB) | 277.5°, 100, 59.6 | |
Web Safe | 660099 | #660099 |
CIE-LAB | 25.863, 58.599, -58.058 |
---|---|
XYZ | 10.386, 4.7, 30.064 |
xyY | 0.23, 0.104, 4.7 |
CIE-LCH | 25.863, 82.489, 315.266 |
CIE-LUV | 25.863, 15.127, -74.33 |
Hunter-Lab | 21.68, 47.574, -67.044 |
Binary | 01011111, 00000000, 10011000 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #5f0098. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #5f0098
This text has a font color of #5f0098.
<span style="color:#5f0098;">Text here</span>
#5f0098 background color
This paragraph has a background color of #5f0098.
<p style="background-color:#5f0098;">Content here</p>
#5f0098 border color
This element has a border color of #5f0098.
<div style="border:1px solid #5f0098;">Content here</div>
CSS codes
.text {color:#5f0098;}
.background {background-color:#5f0098;}
.border {border:1px solid #5f0098;}
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, #09000f is the darkest color, while #fdfaff is the lightest one.
-
#09000f
#09000f
rgb(9,0,15)
-
#150022
#150022
rgb(21,0,34)
-
#220036
#220036
rgb(34,0,54)
-
#2e004a
#2e004a
rgb(46,0,74)
-
#3a005d
#3a005d
rgb(58,0,93)
-
#460071
#460071
rgb(70,0,113)
-
#530084
#530084
rgb(83,0,132)
-
#5f0098
#5f0098
rgb(95,0,152)
-
#6b00ac
#6b00ac
rgb(107,0,172)
-
#7800bf
#7800bf
rgb(120,0,191)
-
#8400d3
#8400d3
rgb(132,0,211)
-
#9000e6
#9000e6
rgb(144,0,230)
-
#9c00fa
#9c00fa
rgb(156,0,250)
Shade Color Variation
-
#a50fff
#a50fff
rgb(165,15,255)
-
#ac22ff
#ac22ff
rgb(172,34,255)
-
#b436ff
#b436ff
rgb(180,54,255)
-
#bb4aff
#bb4aff
rgb(187,74,255)
-
#c25dff
#c25dff
rgb(194,93,255)
-
#ca71ff
#ca71ff
rgb(202,113,255)
-
#d184ff
#d184ff
rgb(209,132,255)
-
#d898ff
#d898ff
rgb(216,152,255)
-
#e0acff
#e0acff
rgb(224,172,255)
-
#e7bfff
#e7bfff
rgb(231,191,255)
-
#eed3ff
#eed3ff
rgb(238,211,255)
-
#f6e6ff
#f6e6ff
rgb(246,230,255)
-
#fdfaff
#fdfaff
rgb(253,250,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #4d4652 is the less saturated color, while #5f0098 is the most saturated one.
-
#4d4652
#4d4652
rgb(77,70,82)
-
#4f4058
#4f4058
rgb(79,64,88)
-
#503a5e
#503a5e
rgb(80,58,94)
-
#523563
#523563
rgb(82,53,99)
-
#532f69
#532f69
rgb(83,47,105)
-
#55296f
#55296f
rgb(85,41,111)
-
#562375
#562375
rgb(86,35,117)
-
#581d7b
#581d7b
rgb(88,29,123)
-
#591781
#591781
rgb(89,23,129)
-
#5b1286
#5b1286
rgb(91,18,134)
-
#5c0c8c
#5c0c8c
rgb(92,12,140)
-
#5e0692
#5e0692
rgb(94,6,146)
-
#5f0098
#5f0098
rgb(95,0,152)
Tone Color Variation
Below, you can see how #5f0098 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