#5a42ab Color Information

In a RGB color space, hex #5a42ab is composed of 35.3% red, 25.9% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 47.4% cyan, 61.4% magenta, 0% yellow and 32.9% black. It has a hue angle of 253.7 degrees, a saturation of 44.3% and a lightness of 46.5%. #5a42ab color hex could be obtained by blending #b484ff with #000057. Closest websafe color is: #663399.

    • R 35
    • G 26
    • B 67
    RGB color chart
    • C 47
    • M 61
    • Y 0
    • K 33
    CMYK color chart

#5a42ab color description : Dark moderate blue.

#5a42ab Color Conversion

The hexadecimal color #5a42ab has RGB values of R:90, G:66, B:171 and CMYK values of C:0.47, M:0.61, Y:0, K:0.33. Its decimal value is 5915307.

Hex triplet 5a42ab #5a42ab
RGB Decimal 90, 66, 171 rgb(90,66,171)
RGB Percent 35.3, 25.9, 67.1 rgb(35.3%,25.9%,67.1%)
CMYK 47, 61, 0, 33
HSL 253.7°, 44.3, 46.5 hsl(253.7,44.3%,46.5%)
HSV (or HSB) 253.7°, 61.4, 67.1
Web Safe 663399 #663399
CIE-LAB 36.004, 36.813, -53.042
XYZ 13.514, 9.01, 39.553
xyY 0.218, 0.145, 9.01
CIE-LCH 36.004, 64.565, 304.762
CIE-LUV 36.004, 2.046, -77.225
Hunter-Lab 30.017, 27.834, -57.114
Binary 01011010, 01000010, 10101011

Color Schemes with #5a42ab

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

Alternatives to #5a42ab

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

Similar Colors

#5a42ab Preview

Text with hexadecimal color #5a42ab

This text has a font color of #5a42ab.

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

This paragraph has a background color of #5a42ab.

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

This element has a border color of #5a42ab.

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

Shades and Tints of #5a42ab

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

Shade Color Variation
Tint Color Variation

Tones of #5a42ab

A tone is produced by adding gray to any pure hue. In this case, #73707d is the less saturated color, while #3702eb is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a42ab 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
  • #555555 Achromatopsia 0.005% of the population
  • #565166 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005ab1 Protanopia 1% of men
  • #005f9d Deuteranopia 1% of men
  • #496168 Tritanopia 0.001% of the population
Trichromacy
  • #2051af Protanomaly 1% of men, 0.01% of women
  • #2054a2 Deuteranomaly 6% of men, 0.4% of women
  • #4f5580 Tritanomaly 0.01% of the population