colorhexa.com

#5a1795 hex color

In a RGB color space, hex #5a1795 is composed of 35.3% red, 9% green and 58.4% blue. Whereas in a CMYK color space, it is composed of 39.6% cyan, 84.6% magenta, 0% yellow and 41.6% black. It has a hue angle of 271.9 degrees, a saturation of 73.3% and a lightness of 33.7%. #5a1795 color hex could be obtained by blending #b42eff with #00002b. Closest websafe color is: #660099.

    • R 35
    • G 9
    • B 58

    RGB color chart

    • C 40
    • M 85
    • Y 0
    • K 42

    CMYK color chart

#5a1795 color description : Dark violet.

The hexadecimal color #5a1795 has RGB values of R:90, G:23, B:149 and CMYK values of C:0.4, M:0.85, Y:0, K:0.42. Its decimal value is 5904277.

Hex triplet 5a1795 #5a1795
RGB Decimal 90, 23, 149 rgb(90,23,149)
RGB Percent 35.3, 9, 58.4 rgb(35.3%,9%,58.4%)
CMYK 40, 85, 0, 42
HSL 271.9°, 73.3, 33.7 hsl(271.9,73.3%,33.7%)
HSV (or HSB) 271.9°, 84.6, 58.4
Web Safe 660099 #660099
CIE-LAB 26.61, 51.958, -55.013
XYZ 9.947, 4.956, 28.865
xyY 0.227, 0.113, 4.956
CIE-LCH 26.61, 75.671, 313.364
CIE-LUV 26.61, 12.103, -71.712
Hunter-Lab 22.263, 40.79, -61.287
Binary 01011010, 00010111, 10010101

Complementary Color

Analogous Color

Split Complementary Color

Triadic Color

Monochromatic Color

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

This text has a font color of #5a1795.

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

#5a1795 background color

This paragraph has a background color of #5a1795.

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

#5a1795 border color

This element has a border color of #5a1795.

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

CSS codes

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

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, #08020d is the darkest color, while #fdfbfe is the lightest one.

Shade Color Variation

Tint Color Variation

A tone is produced by adding gray to any pure hue. In this case, #565359 is the less saturated color, while #5b03a9 is the most saturated one.

Tone Color Variation

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

  • #393939 Achromatopsia 0.005% of the population
  • #40324b Atypical Achromatopsia 0.001% of the population

Dichromacy

  • #004689 Protanopia 1% of men
  • #004a78 Deuteranopia 1% of men
  • #4e464b Tritanopia 0.001% of the population

Trichromacy

  • #20358d Protanomaly 1% of men, 0.01% of women
  • #203783 Deuteranomaly 6% of men, 0.4% of women
  • #523566 Tritanomaly 0.01% of the population