#5b3798 Color Information

In a RGB color space, hex #5b3798 is composed of 35.7% red, 21.6% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 40.1% cyan, 63.8% magenta, 0% yellow and 40.4% black. It has a hue angle of 262.3 degrees, a saturation of 46.9% and a lightness of 40.6%. #5b3798 color hex could be obtained by blending #b66eff with #000031. Closest websafe color is: #663399.

    • R 36
    • G 22
    • B 60
    RGB color chart
    • C 40
    • M 64
    • Y 0
    • K 40
    CMYK color chart

#5b3798 color description : Dark moderate violet.

#5b3798 Color Conversion

The hexadecimal color #5b3798 has RGB values of R:91, G:55, B:152 and CMYK values of C:0.4, M:0.64, Y:0, K:0.4. Its decimal value is 5978008.

Hex triplet 5b3798 #5b3798
RGB Decimal 91, 55, 152 rgb(91,55,152)
RGB Percent 35.7, 21.6, 59.6 rgb(35.7%,21.6%,59.6%)
CMYK 40, 64, 0, 40
HSL 262.3°, 46.9, 40.6 hsl(262.3,46.9%,40.6%)
HSV (or HSB) 262.3°, 63.8, 59.6
Web Safe 663399 #663399
CIE-LAB 32.31, 37.964, -47.568
XYZ 11.347, 7.223, 30.5
xyY 0.231, 0.147, 7.223
CIE-LCH 32.31, 60.86, 308.594
CIE-LUV 32.31, 7.169, -67.423
Hunter-Lab 26.877, 28.328, -48.471
Binary 01011011, 00110111, 10011000

Color Schemes with #5b3798

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

Alternatives to #5b3798

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

Similar Colors

#5b3798 Preview

Text with hexadecimal color #5b3798

This text has a font color of #5b3798.

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

This paragraph has a background color of #5b3798.

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

This element has a border color of #5b3798.

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

Shades and Tints of #5b3798

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

Shade Color Variation
Tint Color Variation

Tones of #5b3798

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5b3798 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
  • #50495c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0052a1 Protanopia 1% of men
  • #00568f Deuteranopia 1% of men
  • #51555b Tritanopia 0.001% of the population
Trichromacy
  • #21489e Protanomaly 1% of men, 0.01% of women
  • #214b92 Deuteranomaly 6% of men, 0.4% of women
  • #544a71 Tritanomaly 0.01% of the population