#5a3791 Color Information

In a RGB color space, hex #5a3791 is composed of 35.3% red, 21.6% green and 56.9% blue. Whereas in a CMYK color space, it is composed of 37.9% cyan, 62.1% magenta, 0% yellow and 43.1% black. It has a hue angle of 263.3 degrees, a saturation of 45% and a lightness of 39.2%. #5a3791 color hex could be obtained by blending #b46eff with #000023. Closest websafe color is: #663399.

    • R 35
    • G 22
    • B 57
    RGB color chart
    • C 38
    • M 62
    • Y 0
    • K 43
    CMYK color chart

#5a3791 color description : Dark moderate violet.

#5a3791 Color Conversion

The hexadecimal color #5a3791 has RGB values of R:90, G:55, B:145 and CMYK values of C:0.38, M:0.62, Y:0, K:0.43. Its decimal value is 5912465.

Hex triplet 5a3791 #5a3791
RGB Decimal 90, 55, 145 rgb(90,55,145)
RGB Percent 35.3, 21.6, 56.9 rgb(35.3%,21.6%,56.9%)
CMYK 38, 62, 0, 43
HSL 263.3°, 45, 39.2 hsl(263.3,45%,39.2%)
HSV (or HSB) 263.3°, 62.1, 56.9
Web Safe 663399 #663399
CIE-LAB 31.694, 35.795, -44.29
XYZ 10.693, 6.95, 27.565
xyY 0.237, 0.154, 6.95
CIE-LCH 31.694, 56.946, 308.945
CIE-LUV 31.694, 7.648, -62.56
Hunter-Lab 26.364, 26.26, -43.537
Binary 01011010, 00110111, 10010001

Color Schemes with #5a3791

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

Alternatives to #5a3791

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

Similar Colors

#5a3791 Preview

Text with hexadecimal color #5a3791

This text has a font color of #5a3791.

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

This paragraph has a background color of #5a3791.

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

This element has a border color of #5a3791.

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

Shades and Tints of #5a3791

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 #f6f4fb is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a3791

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a3791 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
  • #4c4c4c Achromatopsia 0.005% of the population
  • #4f485a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00519f Protanopia 1% of men
  • #00558e Deuteranopia 1% of men
  • #525359 Tritanopia 0.001% of the population
Trichromacy
  • #20479a Protanomaly 1% of men, 0.01% of women
  • #204a8f Deuteranomaly 6% of men, 0.4% of women
  • #55496d Tritanomaly 0.01% of the population