#5f3198 Color Information

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.

#5f3198 Color Conversion

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

Color Schemes with #5f3198

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #5f3198

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.

Similar Colors

#5f3198 Preview

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;}

Shades and Tints of #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.

Shade Color Variation
Tint Color Variation

Tones of #5f3198

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.

Tone Color Variation

Color Blindness Simulator

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
  • #4a4a4a Achromatopsia 0.005% of the population
  • #4e455a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00519e Protanopia 1% of men
  • #00558c Deuteranopia 1% of men
  • #555258 Tritanopia 0.001% of the population
Trichromacy
  • #22459c Protanomaly 1% of men, 0.01% of women
  • #224890 Deuteranomaly 6% of men, 0.4% of women
  • #59466f Tritanomaly 0.01% of the population