#5b31a2 Color Information

In a RGB color space, hex #5b31a2 is composed of 35.7% red, 19.2% green and 63.5% blue. Whereas in a CMYK color space, it is composed of 43.8% cyan, 69.8% magenta, 0% yellow and 36.5% black. It has a hue angle of 262.3 degrees, a saturation of 53.6% and a lightness of 41.4%. #5b31a2 color hex could be obtained by blending #b662ff with #000045. Closest websafe color is: #663399.

    • R 36
    • G 19
    • B 64
    RGB color chart
    • C 44
    • M 70
    • Y 0
    • K 36
    CMYK color chart

#5b31a2 color description : Dark moderate violet.

#5b31a2 Color Conversion

The hexadecimal color #5b31a2 has RGB values of R:91, G:49, B:162 and CMYK values of C:0.44, M:0.7, Y:0, K:0.36. Its decimal value is 5976482.

Hex triplet 5b31a2 #5b31a2
RGB Decimal 91, 49, 162 rgb(91,49,162)
RGB Percent 35.7, 19.2, 63.5 rgb(35.7%,19.2%,63.5%)
CMYK 44, 70, 0, 36
HSL 262.3°, 53.6, 41.4 hsl(262.3,53.6%,41.4%)
HSV (or HSB) 262.3°, 69.8, 63.5
Web Safe 663399 #663399
CIE-LAB 31.874, 44.014, -54.344
XYZ 11.933, 7.029, 34.909
xyY 0.222, 0.13, 7.029
CIE-LCH 31.874, 69.932, 309.005
CIE-LUV 31.874, 7.076, -76.03
Hunter-Lab 26.513, 33.943, -59.506
Binary 01011011, 00110001, 10100010

Color Schemes with #5b31a2

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

Alternatives to #5b31a2

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

Similar Colors

#5b31a2 Preview

Text with hexadecimal color #5b31a2

This text has a font color of #5b31a2.

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

This paragraph has a background color of #5b31a2.

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

This element has a border color of #5b31a2.

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

Shades and Tints of #5b31a2

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, #06030b is the darkest color, while #fcfbfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5b31a2

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5b31a2 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
  • #4d455c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00519f Protanopia 1% of men
  • #00568c Deuteranopia 1% of men
  • #4c555b Tritanopia 0.001% of the population
Trichromacy
  • #2145a0 Protanomaly 1% of men, 0.01% of women
  • #214894 Deuteranomaly 6% of men, 0.4% of women
  • #524875 Tritanomaly 0.01% of the population