#5a31b4 Color Information

In a RGB color space, hex #5a31b4 is composed of 35.3% red, 19.2% green and 70.6% blue. Whereas in a CMYK color space, it is composed of 50% cyan, 72.8% magenta, 0% yellow and 29.4% black. It has a hue angle of 258.8 degrees, a saturation of 57.2% and a lightness of 44.9%. #5a31b4 color hex could be obtained by blending #b462ff with #000069. Closest websafe color is: #6633cc.

    • R 35
    • G 19
    • B 71
    RGB color chart
    • C 50
    • M 73
    • Y 0
    • K 29
    CMYK color chart

#5a31b4 color description : Moderate violet.

#5a31b4 Color Conversion

The hexadecimal color #5a31b4 has RGB values of R:90, G:49, B:180 and CMYK values of C:0.5, M:0.73, Y:0, K:0.29. Its decimal value is 5910964.

Hex triplet 5a31b4 #5a31b4
RGB Decimal 90, 49, 180 rgb(90,49,180)
RGB Percent 35.3, 19.2, 70.6 rgb(35.3%,19.2%,70.6%)
CMYK 50, 73, 0, 29
HSL 258.8°, 57.2, 44.9 hsl(258.8,57.2%,44.9%)
HSV (or HSB) 258.8°, 72.8, 70.6
Web Safe 6633cc #6633cc
CIE-LAB 33.276, 48.811, -62.841
XYZ 13.552, 7.665, 43.943
xyY 0.208, 0.118, 7.665
CIE-LCH 33.276, 79.571, 307.838
CIE-LUV 33.276, 4.48, -87.973
Hunter-Lab 27.686, 38.918, -74.723
Binary 01011010, 00110001, 10110100

Color Schemes with #5a31b4

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

Alternatives to #5a31b4

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

Similar Colors

#5a31b4 Preview

Text with hexadecimal color #5a31b4

This text has a font color of #5a31b4.

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

This paragraph has a background color of #5a31b4.

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

This element has a border color of #5a31b4.

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

Shades and Tints of #5a31b4

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

Shade Color Variation
Tint Color Variation

Tones of #5a31b4

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a31b4 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
  • #4c4c4c Achromatopsia 0.005% of the population
  • #4f4761 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0054a5 Protanopia 1% of men
  • #005990 Deuteranopia 1% of men
  • #425b62 Tritanopia 0.001% of the population
Trichromacy
  • #2047aa Protanomaly 1% of men, 0.01% of women
  • #204a9d Deuteranomaly 6% of men, 0.4% of women
  • #4b4b7f Tritanomaly 0.01% of the population