#5a31c7 Color Information

In a RGB color space, hex #5a31c7 is composed of 35.3% red, 19.2% green and 78% blue. Whereas in a CMYK color space, it is composed of 54.8% cyan, 75.4% magenta, 0% yellow and 22% black. It has a hue angle of 256.4 degrees, a saturation of 60.5% and a lightness of 48.6%. #5a31c7 color hex could be obtained by blending #b462ff with #00008f. Closest websafe color is: #6633cc.

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

#5a31c7 color description : Strong violet.

#5a31c7 Color Conversion

The hexadecimal color #5a31c7 has RGB values of R:90, G:49, B:199 and CMYK values of C:0.55, M:0.75, Y:0, K:0.22. Its decimal value is 5910983.

Hex triplet 5a31c7 #5a31c7
RGB Decimal 90, 49, 199 rgb(90,49,199)
RGB Percent 35.3, 19.2, 78 rgb(35.3%,19.2%,78%)
CMYK 55, 75, 0, 22
HSL 256.4°, 60.5, 48.6 hsl(256.4,60.5%,48.6%)
HSV (or HSB) 256.4°, 75.4, 78
Web Safe 6633cc #6633cc
CIE-LAB 34.99, 54.099, -71.218
XYZ 15.622, 8.493, 54.846
xyY 0.198, 0.108, 8.493
CIE-LCH 34.99, 89.436, 307.221
CIE-LUV 34.99, 2.424, -99.979
Hunter-Lab 29.143, 44.68, -91.179
Binary 01011010, 00110001, 11000111

Color Schemes with #5a31c7

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

Alternatives to #5a31c7

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

Similar Colors

#5a31c7 Preview

Text with hexadecimal color #5a31c7

This text has a font color of #5a31c7.

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

This paragraph has a background color of #5a31c7.

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

This element has a border color of #5a31c7.

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

Shades and Tints of #5a31c7

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, #05020a is the darkest color, while #fbf9fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a31c7

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a31c7 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
  • #4e4e4e Achromatopsia 0.005% of the population
  • #504866 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0058ac Protanopia 1% of men
  • #005d96 Deuteranopia 1% of men
  • #346168 Tritanopia 0.001% of the population
Trichromacy
  • #204ab6 Protanomaly 1% of men, 0.01% of women
  • #204da8 Deuteranomaly 6% of men, 0.4% of women
  • #42508b Tritanomaly 0.01% of the population