#5a31ab Color Information

In a RGB color space, hex #5a31ab is composed of 35.3% red, 19.2% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 47.4% cyan, 71.3% magenta, 0% yellow and 32.9% black. It has a hue angle of 260.2 degrees, a saturation of 55.5% and a lightness of 43.1%. #5a31ab color hex could be obtained by blending #b462ff with #000057. Closest websafe color is: #663399.

    • R 35
    • G 19
    • B 67
    RGB color chart
    • C 47
    • M 71
    • Y 0
    • K 33
    CMYK color chart

#5a31ab color description : Dark violet.

#5a31ab Color Conversion

The hexadecimal color #5a31ab has RGB values of R:90, G:49, B:171 and CMYK values of C:0.47, M:0.71, Y:0, K:0.33. Its decimal value is 5910955.

Hex triplet 5a31ab #5a31ab
RGB Decimal 90, 49, 171 rgb(90,49,171)
RGB Percent 35.3, 19.2, 67.1 rgb(35.3%,19.2%,67.1%)
CMYK 47, 71, 0, 33
HSL 260.2°, 55.5, 43.1 hsl(260.2,55.5%,43.1%)
HSV (or HSB) 260.2°, 71.3, 67.1
Web Safe 663399 #663399
CIE-LAB 32.503, 46.311, -58.736
XYZ 12.664, 7.31, 39.27
xyY 0.214, 0.123, 7.31
CIE-LCH 32.503, 74.797, 308.255
CIE-LUV 32.503, 5.542, -82.119
Hunter-Lab 27.038, 36.291, -67.186
Binary 01011010, 00110001, 10101011

Color Schemes with #5a31ab

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

Alternatives to #5a31ab

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

Similar Colors

#5a31ab Preview

Text with hexadecimal color #5a31ab

This text has a font color of #5a31ab.

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

This paragraph has a background color of #5a31ab.

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

This element has a border color of #5a31ab.

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

Shades and Tints of #5a31ab

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

Shade Color Variation
Tint Color Variation

Tones of #5a31ab

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a31ab 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
  • #4b4b4b Achromatopsia 0.005% of the population
  • #4e465e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0053a2 Protanopia 1% of men
  • #00578e Deuteranopia 1% of men
  • #47585e Tritanopia 0.001% of the population
Trichromacy
  • #2046a5 Protanomaly 1% of men, 0.01% of women
  • #204998 Deuteranomaly 6% of men, 0.4% of women
  • #4e4a7a Tritanomaly 0.01% of the population