#5a3a8b Color Information

In a RGB color space, hex #5a3a8b is composed of 35.3% red, 22.7% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 35.3% cyan, 58.3% magenta, 0% yellow and 45.5% black. It has a hue angle of 263.7 degrees, a saturation of 41.1% and a lightness of 38.6%. #5a3a8b color hex could be obtained by blending #b474ff with #000017. Closest websafe color is: #663399.

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

#5a3a8b color description : Dark moderate violet.

#5a3a8b Color Conversion

The hexadecimal color #5a3a8b has RGB values of R:90, G:58, B:139 and CMYK values of C:0.35, M:0.58, Y:0, K:0.45. Its decimal value is 5913227.

Hex triplet 5a3a8b #5a3a8b
RGB Decimal 90, 58, 139 rgb(90,58,139)
RGB Percent 35.3, 22.7, 54.5 rgb(35.3%,22.7%,54.5%)
CMYK 35, 58, 0, 45
HSL 263.7°, 41.1, 38.6 hsl(263.7,41.1%,38.6%)
HSV (or HSB) 263.7°, 58.3, 54.5
Web Safe 663399 #663399
CIE-LAB 31.952, 32.375, -40.185
XYZ 10.389, 7.064, 25.241
xyY 0.243, 0.165, 7.064
CIE-LCH 31.952, 51.604, 308.857
CIE-LUV 31.952, 7.692, -57.046
Hunter-Lab 26.578, 23.262, -37.703
Binary 01011010, 00111010, 10001011

Color Schemes with #5a3a8b

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

Alternatives to #5a3a8b

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

Similar Colors

#5a3a8b Preview

Text with hexadecimal color #5a3a8b

This text has a font color of #5a3a8b.

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

This paragraph has a background color of #5a3a8b.

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

This element has a border color of #5a3a8b.

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

Shades and Tints of #5a3a8b

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

Shade Color Variation
Tint Color Variation

Tones of #5a3a8b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a3a8b 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
  • #504959 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #1c519d Protanopia 1% of men
  • #24558a Deuteranopia 1% of men
  • #545359 Tritanopia 0.001% of the population
Trichromacy
  • #324996 Protanomaly 1% of men, 0.01% of women
  • #374b8a Deuteranomaly 6% of men, 0.4% of women
  • #564a6b Tritanomaly 0.01% of the population