colorhexa.com

#5a42a9 hex color

In a RGB color space, hex #5a42a9 is composed of 35.3% red, 25.9% green and 66.3% blue. Whereas in a CMYK color space, it is composed of 46.7% cyan, 60.9% magenta, 0% yellow and 33.7% black. It has a hue angle of 254 degrees, a saturation of 43.8% and a lightness of 46.1%. #5a42a9 color hex could be obtained by blending #b484ff with #000053. Closest websafe color is: #663399.

    • R 35
    • G 26
    • B 66

    RGB color chart

    • C 47
    • M 61
    • Y 0
    • K 34

    CMYK color chart

#5a42a9 color description : Dark moderate blue.

The hexadecimal color #5a42a9 has RGB values of R:90, G:66, B:169 and CMYK values of C:0.47, M:0.61, Y:0, K:0.34. Its decimal value is 5915305.

Hex triplet 5a42a9 #5a42a9
RGB Decimal 90, 66, 169 rgb(90,66,169)
RGB Percent 35.3, 25.9, 66.3 rgb(35.3%,25.9%,66.3%)
CMYK 47, 61, 0, 34
HSL 254°, 43.8, 46.1 hsl(254,43.8%,46.1%)
HSV (or HSB) 254°, 60.9, 66.3
Web Safe 663399 #663399
CIE-LAB 35.858, 36.218, -52.085
XYZ 13.325, 8.934, 38.556
xyY 0.219, 0.147, 8.934
CIE-LCH 35.858, 63.44, 304.813
CIE-LUV 35.858, 2.242, -75.8
Hunter-Lab 29.891, 27.265, -55.556
Binary 01011010, 01000010, 10101001

Complementary Color

Analogous Color

Split Complementary Color

Triadic Color

Tetradic Color

Monochromatic Color

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

Similar Colors

Text with hexadecimal color #5a42a9

This text has a font color of #5a42a9.

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

#5a42a9 background color

This paragraph has a background color of #5a42a9.

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

#5a42a9 border color

This element has a border color of #5a42a9.

<div style="border:1px solid #5a42a9;">Content here</div>

CSS codes

.text {color:#5a42a9;}
.background {background-color:#5a42a9;}
.border {border:1px solid #5a42a9;}

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, #07050e is the darkest color, while #ffffff is the lightest one.

Shade Color Variation

Tint Color Variation

A tone is produced by adding gray to any pure hue. In this case, #726f7c is the less saturated color, while #3803e8 is the most saturated one.

Tone Color Variation

Below, you can see how #5a42a9 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
  • #005f9c Deuteranopia 1% of men
  • #4a6067 Tritanopia 0.001% of the population

Trichromacy

  • #2051ae Protanomaly 1% of men, 0.01% of women
  • #2054a1 Deuteranomaly 6% of men, 0.4% of women
  • #50557f Tritanomaly 0.01% of the population