#5a51b1 Color Information

In a RGB color space, hex #5a51b1 is composed of 35.3% red, 31.8% green and 69.4% blue. Whereas in a CMYK color space, it is composed of 49.2% cyan, 54.2% magenta, 0% yellow and 30.6% black. It has a hue angle of 245.6 degrees, a saturation of 38.1% and a lightness of 50.6%. #5a51b1 color hex could be obtained by blending #b4a2ff with #000063. Closest websafe color is: #666699.

    • R 35
    • G 32
    • B 69
    RGB color chart
    • C 49
    • M 54
    • Y 0
    • K 31
    CMYK color chart

#5a51b1 color description : Dark moderate blue.

#5a51b1 Color Conversion

The hexadecimal color #5a51b1 has RGB values of R:90, G:81, B:177 and CMYK values of C:0.49, M:0.54, Y:0, K:0.31. Its decimal value is 5919153.

Hex triplet 5a51b1 #5a51b1
RGB Decimal 90, 81, 177 rgb(90,81,177)
RGB Percent 35.3, 31.8, 69.4 rgb(35.3%,31.8%,69.4%)
CMYK 49, 54, 0, 31
HSL 245.6°, 38.1, 50.6 hsl(245.6,38.1%,50.6%)
HSV (or HSB) 245.6°, 54.2, 69.4
Web Safe 666699 #666699
CIE-LAB 39.969, 29.513, -50.197
XYZ 15.093, 11.232, 42.965
xyY 0.218, 0.162, 11.232
CIE-LCH 39.969, 58.23, 300.453
CIE-LUV 39.969, -2.407, -75.247
Hunter-Lab 33.515, 21.735, -52.548
Binary 01011010, 01010001, 10110001

Color Schemes with #5a51b1

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

Alternatives to #5a51b1

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

Similar Colors

#5a51b1 Preview

Text with hexadecimal color #5a51b1

This text has a font color of #5a51b1.

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

This paragraph has a background color of #5a51b1.

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

This element has a border color of #5a51b1.

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

Shades and Tints of #5a51b1

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

Shade Color Variation
Tint Color Variation

Tones of #5a51b1

A tone is produced by adding gray to any pure hue. In this case, #7a788a is the less saturated color, while #1b03ff is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a51b1 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
  • #5f5f5f Achromatopsia 0.005% of the population
  • #5e5c6f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #2563bd Protanopia 1% of men
  • #0068ad Deuteranopia 1% of men
  • #496b73 Tritanopia 0.001% of the population
Trichromacy
  • #385cb9 Protanomaly 1% of men, 0.01% of women
  • #205fae Deuteranomaly 6% of men, 0.4% of women
  • #4f6289 Tritanomaly 0.01% of the population