#5f31c6 Color Information

In a RGB color space, hex #5f31c6 is composed of 37.3% red, 19.2% green and 77.6% blue. Whereas in a CMYK color space, it is composed of 52% cyan, 75.3% magenta, 0% yellow and 22.4% black. It has a hue angle of 258.5 degrees, a saturation of 60.3% and a lightness of 48.4%. #5f31c6 color hex could be obtained by blending #be62ff with #00008d. Closest websafe color is: #6633cc.

    • R 37
    • G 19
    • B 78
    RGB color chart
    • C 52
    • M 75
    • Y 0
    • K 22
    CMYK color chart

#5f31c6 color description : Strong violet.

#5f31c6 Color Conversion

The hexadecimal color #5f31c6 has RGB values of R:95, G:49, B:198 and CMYK values of C:0.52, M:0.75, Y:0, K:0.22. Its decimal value is 6238662.

Hex triplet 5f31c6 #5f31c6
RGB Decimal 95, 49, 198 rgb(95,49,198)
RGB Percent 37.3, 19.2, 77.6 rgb(37.3%,19.2%,77.6%)
CMYK 52, 75, 0, 22
HSL 258.5°, 60.3, 48.4 hsl(258.5,60.3%,48.4%)
HSV (or HSB) 258.5°, 75.3, 77.6
Web Safe 6633cc #6633cc
CIE-LAB 35.413, 54.521, -69.921
XYZ 16.009, 8.706, 54.26
xyY 0.203, 0.11, 8.706
CIE-LCH 35.413, 88.665, 307.946
CIE-LUV 35.413, 4.206, -99.01
Hunter-Lab 29.507, 45.209, -88.374
Binary 01011111, 00110001, 11000110

Color Schemes with #5f31c6

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

Alternatives to #5f31c6

Below, you can see some colors close to #5f31c6. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#5f31c6 Preview

Text with hexadecimal color #5f31c6

This text has a font color of #5f31c6.

<span style="color:#5f31c6;">Text here</span>
#5f31c6 background color

This paragraph has a background color of #5f31c6.

<p style="background-color:#5f31c6;">Content here</p>
#5f31c6 border color

This element has a border color of #5f31c6.

<div style="border:1px solid #5f31c6;">Content here</div>
CSS codes
.text {color:#5f31c6;}
.background {background-color:#5f31c6;}
.border {border:1px solid #5f31c6;}

Shades and Tints of #5f31c6

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, #040209 is the darkest color, while #faf9fd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5f31c6

A tone is produced by adding gray to any pure hue. In this case, #787484 is the less saturated color, while #4d01f6 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f31c6 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
  • #505050 Achromatopsia 0.005% of the population
  • #534a68 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0059ae Protanopia 1% of men
  • #005e98 Deuteranopia 1% of men
  • #3f6168 Tritanopia 0.001% of the population
Trichromacy
  • #224ab6 Protanomaly 1% of men, 0.01% of women
  • #224da8 Deuteranomaly 6% of men, 0.4% of women
  • #4b4f8a Tritanomaly 0.01% of the population