colorhexa.com

#5b31b8 hex color

In a RGB color space, hex #5b31b8 is composed of 35.7% red, 19.2% green and 72.2% blue. Whereas in a CMYK color space, it is composed of 50.5% cyan, 73.4% magenta, 0% yellow and 27.8% black. It has a hue angle of 258.7 degrees, a saturation of 57.9% and a lightness of 45.7%. #5b31b8 color hex could be obtained by blending #b662ff with #000071. Closest websafe color is: #6633cc.

    • R 36
    • G 19
    • B 72

    RGB color chart

    • C 51
    • M 73
    • Y 0
    • K 28

    CMYK color chart

#5b31b8 color description : Moderate violet.

The hexadecimal color #5b31b8 has RGB values of R:91, G:49, B:184 and CMYK values of C:0.51, M:0.73, Y:0, K:0.28. Its decimal value is 5976504.

Hex triplet 5b31b8 #5b31b8
RGB Decimal 91, 49, 184 rgb(91,49,184)
RGB Percent 35.7, 19.2, 72.2 rgb(35.7%,19.2%,72.2%)
CMYK 51, 73, 0, 28
HSL 258.7°, 57.9, 45.7 hsl(258.7,57.9%,45.7%)
HSV (or HSB) 258.7°, 73.4, 72.2
Web Safe 6633cc #6633cc
CIE-LAB 33.734, 50.081, -64.458
XYZ 14.063, 7.881, 46.125
xyY 0.207, 0.116, 7.881
CIE-LCH 33.734, 81.627, 307.846
CIE-LUV 33.734, 4.383, -90.457
Hunter-Lab 28.074, 40.287, -77.762
Binary 01011011, 00110001, 10111000

Complementary Color

Analogous Color

Split Complementary Color

Triadic Color

Tetradic Color

Monochromatic Color

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

Similar Colors

Text with hexadecimal color #5b31b8

This text has a font color of #5b31b8.

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

#5b31b8 background color

This paragraph has a background color of #5b31b8.

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

#5b31b8 border color

This element has a border color of #5b31b8.

<div style="border:1px solid #5b31b8;">Content here</div>

CSS codes

.text {color:#5b31b8;}
.background {background-color:#5b31b8;}
.border {border:1px solid #5b31b8;}

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, #07040e is the darkest color, while #fefdfe is the lightest one.

Shade Color Variation

Tint Color Variation

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

Tone Color Variation

Below, you can see how #5b31b8 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

  • #4d4d4d Achromatopsia 0.005% of the population
  • #504762 Atypical Achromatopsia 0.001% of the population

Dichromacy

  • #0055a7 Protanopia 1% of men
  • #005a92 Deuteranopia 1% of men
  • #415c63 Tritanopia 0.001% of the population

Trichromacy

  • #2148ad Protanomaly 1% of men, 0.01% of women
  • #214ba0 Deuteranomaly 6% of men, 0.4% of women
  • #4a4c82 Tritanomaly 0.01% of the population