colorhexa.com

#5a40a3 hex color

In a RGB color space, hex #5a40a3 is composed of 35.3% red, 25.1% green and 63.9% blue. Whereas in a CMYK color space, it is composed of 44.8% cyan, 60.7% magenta, 0% yellow and 36.1% black. It has a hue angle of 255.8 degrees, a saturation of 43.6% and a lightness of 44.5%. #5a40a3 color hex could be obtained by blending #b480ff with #000047. Closest websafe color is: #663399.

    • R 35
    • G 25
    • B 64

    RGB color chart

    • C 45
    • M 61
    • Y 0
    • K 36

    CMYK color chart

#5a40a3 color description : Dark moderate violet.

The hexadecimal color #5a40a3 has RGB values of R:90, G:64, B:163 and CMYK values of C:0.45, M:0.61, Y:0, K:0.36. Its decimal value is 5914787.

Hex triplet 5a40a3 #5a40a3
RGB Decimal 90, 64, 163 rgb(90,64,163)
RGB Percent 35.3, 25.1, 63.9 rgb(35.3%,25.1%,63.9%)
CMYK 45, 61, 0, 36
HSL 255.8°, 43.6, 44.5 hsl(255.8,43.6%,44.5%)
HSV (or HSB) 255.8°, 60.7, 63.9
Web Safe 663399 #663399
CIE-LAB 34.972, 35.638, -49.923
XYZ 12.66, 8.485, 35.619
xyY 0.223, 0.149, 8.485
CIE-LCH 34.972, 61.338, 305.521
CIE-LUV 34.972, 3.342, -72.248
Hunter-Lab 29.128, 26.603, -52.112
Binary 01011010, 01000000, 10100011

Complementary Color

Analogous Color

Split Complementary Color

Triadic Color

Tetradic Color

Monochromatic Color

Below, you can see some colors close to #5a40a3. 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 #5a40a3

This text has a font color of #5a40a3.

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

#5a40a3 background color

This paragraph has a background color of #5a40a3.

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

#5a40a3 border color

This element has a border color of #5a40a3.

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

CSS codes

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

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

Shade Color Variation

Tint Color Variation

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

Tone Color Variation

Below, you can see how #5a40a3 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

  • #535353 Achromatopsia 0.005% of the population
  • #544f63 Atypical Achromatopsia 0.001% of the population

Dichromacy

  • #0058ad Protanopia 1% of men
  • #005c99 Deuteranopia 1% of men
  • #4d5d64 Tritanopia 0.001% of the population

Trichromacy

  • #204fa9 Protanomaly 1% of men, 0.01% of women
  • #20529d Deuteranomaly 6% of men, 0.4% of women
  • #51537b Tritanomaly 0.01% of the population