#5a3a8c Color Information

In a RGB color space, hex #5a3a8c is composed of 35.3% red, 22.7% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 35.7% cyan, 58.6% magenta, 0% yellow and 45.1% black. It has a hue angle of 263.4 degrees, a saturation of 41.4% and a lightness of 38.8%. #5a3a8c color hex could be obtained by blending #b474ff with #000019. Closest websafe color is: #663399.

    • R 35
    • G 23
    • B 55
    RGB color chart
    • C 36
    • M 59
    • Y 0
    • K 45
    CMYK color chart

#5a3a8c color description : Dark moderate violet.

#5a3a8c Color Conversion

The hexadecimal color #5a3a8c has RGB values of R:90, G:58, B:140 and CMYK values of C:0.36, M:0.59, Y:0, K:0.45. Its decimal value is 5913228.

Hex triplet 5a3a8c #5a3a8c
RGB Decimal 90, 58, 140 rgb(90,58,140)
RGB Percent 35.3, 22.7, 54.9 rgb(35.3%,22.7%,54.9%)
CMYK 36, 59, 0, 45
HSL 263.4°, 41.4, 38.8 hsl(263.4,41.4%,38.8%)
HSV (or HSB) 263.4°, 58.6, 54.9
Web Safe 663399 #663399
CIE-LAB 32.018, 32.651, -40.694
XYZ 10.462, 7.093, 25.627
xyY 0.242, 0.164, 7.093
CIE-LCH 32.018, 52.174, 308.741
CIE-LUV 32.018, 7.561, -57.787
Hunter-Lab 26.633, 23.512, -38.408
Binary 01011010, 00111010, 10001100

Color Schemes with #5a3a8c

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

Alternatives to #5a3a8c

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

Similar Colors

#5a3a8c Preview

Text with hexadecimal color #5a3a8c

This text has a font color of #5a3a8c.

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

This paragraph has a background color of #5a3a8c.

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

This element has a border color of #5a3a8c.

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

Shades and Tints of #5a3a8c

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

Shade Color Variation
Tint Color Variation

Tones of #5a3a8c

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

Tone Color Variation

Color Blindness Simulator

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

  • #4d4d4d Achromatopsia 0.005% of the population
  • #50495a Atypical Achromatopsia 0.001% of the population
  • #19529e Protanopia 1% of men
  • #22558b Deuteranopia 1% of men
  • #54545a Tritanopia 0.001% of the population
  • #304997 Protanomaly 1% of men, 0.01% of women
  • #364b8b Deuteranomaly 6% of men, 0.4% of women
  • #564a6c Tritanomaly 0.01% of the population