#5a518b Color Information

In a RGB color space, hex #5a518b is composed of 35.3% red, 31.8% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 35.3% cyan, 41.7% magenta, 0% yellow and 45.5% black. It has a hue angle of 249.3 degrees, a saturation of 26.4% and a lightness of 43.1%. #5a518b color hex could be obtained by blending #b4a2ff with #000017. Closest websafe color is: #666699.

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

#5a518b color description : Mostly desaturated dark blue.

#5a518b Color Conversion

The hexadecimal color #5a518b has RGB values of R:90, G:81, B:139 and CMYK values of C:0.35, M:0.42, Y:0, K:0.45. Its decimal value is 5919115.

Hex triplet 5a518b #5a518b
RGB Decimal 90, 81, 139 rgb(90,81,139)
RGB Percent 35.3, 31.8, 54.5 rgb(35.3%,31.8%,54.5%)
CMYK 35, 42, 0, 45
HSL 249.3°, 26.4, 43.1 hsl(249.3,26.4%,43.1%)
HSV (or HSB) 249.3°, 41.7, 54.5
Web Safe 666699 #666699
CIE-LAB 37.703, 18.082, -31.037
XYZ 11.818, 9.922, 25.717
xyY 0.249, 0.209, 9.922
CIE-LCH 37.703, 35.92, 300.224
CIE-LUV 37.703, 0.464, -45.491
Hunter-Lab 31.5, 11.845, -26.356
Binary 01011010, 01010001, 10001011

Color Schemes with #5a518b

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

Alternatives to #5a518b

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

Similar Colors

#5a518b Preview

Text with hexadecimal color #5a518b

This text has a font color of #5a518b.

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

This paragraph has a background color of #5a518b.

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

This element has a border color of #5a518b.

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

Shades and Tints of #5a518b

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

Shade Color Variation
Tint Color Variation

Tones of #5a518b

A tone is produced by adding gray to any pure hue. In this case, #6c6a72 is the less saturated color, while #2505d7 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a518b 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
  • #5a5a5a Achromatopsia 0.005% of the population
  • #5a5864 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #4a5f95 Protanopia 1% of men
  • #49618e Deuteranopia 1% of men
  • #58626a Tritanopia 0.001% of the population
Trichromacy
  • #505a91 Protanomaly 1% of men, 0.01% of women
  • #4f5b8d Deuteranomaly 6% of men, 0.4% of women
  • #585c76 Tritanomaly 0.01% of the population