#5b31ab Color Information

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

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

#5b31ab color description : Dark violet.

#5b31ab Color Conversion

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

Hex triplet 5b31ab #5b31ab
RGB Decimal 91, 49, 171 rgb(91,49,171)
RGB Percent 35.7, 19.2, 67.1 rgb(35.7%,19.2%,67.1%)
CMYK 47, 71, 0, 33
HSL 260.7°, 55.5, 43.1 hsl(260.7,55.5%,43.1%)
HSV (or HSB) 260.7°, 71.3, 67.1
Web Safe 663399 #663399
CIE-LAB 32.615, 46.488, -58.549
XYZ 12.762, 7.361, 39.274
xyY 0.215, 0.124, 7.361
CIE-LCH 32.615, 74.76, 308.449
CIE-LUV 32.615, 5.928, -82.02
Hunter-Lab 27.131, 36.485, -66.835
Binary 01011011, 00110001, 10101011

Color Schemes with #5b31ab

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

Alternatives to #5b31ab

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

Similar Colors

#5b31ab Preview

Text with hexadecimal color #5b31ab

This text has a font color of #5b31ab.

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

This paragraph has a background color of #5b31ab.

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

This element has a border color of #5b31ab.

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

Shades and Tints of #5b31ab

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 #5b31ab

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5b31ab 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
  • #48585e Tritanopia 0.001% of the population
Trichromacy
  • #2146a5 Protanomaly 1% of men, 0.01% of women
  • #214999 Deuteranomaly 6% of men, 0.4% of women
  • #4f4a7a Tritanomaly 0.01% of the population