colorhexa.com

#5a2f97 hex color

In a RGB color space, hex #5a2f97 is composed of 35.3% red, 18.4% green and 59.2% blue. Whereas in a CMYK color space, it is composed of 40.4% cyan, 68.9% magenta, 0% yellow and 40.8% black. It has a hue angle of 264.8 degrees, a saturation of 52.5% and a lightness of 38.8%. #5a2f97 color hex could be obtained by blending #b45eff with #00002f. Closest websafe color is: #663399.

    • R 35
    • G 18
    • B 59

    RGB color chart

    • C 40
    • M 69
    • Y 0
    • K 41

    CMYK color chart

#5a2f97 color description : Dark moderate violet.

The hexadecimal color #5a2f97 has RGB values of R:90, G:47, B:151 and CMYK values of C:0.4, M:0.69, Y:0, K:0.41. Its decimal value is 5910423.

Hex triplet 5a2f97 #5a2f97
RGB Decimal 90, 47, 151 rgb(90,47,151)
RGB Percent 35.3, 18.4, 59.2 rgb(35.3%,18.4%,59.2%)
CMYK 40, 69, 0, 41
HSL 264.8°, 52.5, 38.8 hsl(264.8,52.5%,38.8%)
HSV (or HSB) 264.8°, 68.9, 59.2
Web Safe 663399 #663399
CIE-LAB 30.499, 41.884, -49.898
XYZ 10.818, 6.441, 29.95
xyY 0.229, 0.136, 6.441
CIE-LCH 30.499, 65.147, 310.009
CIE-LUV 30.499, 8.524, -69.186
Hunter-Lab 25.379, 31.672, -52.202
Binary 01011010, 00101111, 10010111

Complementary Color

Analogous Color

Split Complementary Color

Triadic Color

Tetradic Color

Monochromatic Color

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

This text has a font color of #5a2f97.

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

#5a2f97 background color

This paragraph has a background color of #5a2f97.

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

#5a2f97 border color

This element has a border color of #5a2f97.

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

CSS codes

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

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 #f5f1fb is the lightest one.

Shade Color Variation

Tint Color Variation

A tone is produced by adding gray to any pure hue. In this case, #625d69 is the less saturated color, while #5201c5 is the most saturated one.

Tone Color Variation

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

  • #484848 Achromatopsia 0.005% of the population
  • #4c4358 Atypical Achromatopsia 0.001% of the population

Dichromacy

  • #004e9a Protanopia 1% of men
  • #005288 Deuteranopia 1% of men
  • #4f5157 Tritanopia 0.001% of the population

Trichromacy

  • #204399 Protanomaly 1% of men, 0.01% of women
  • #20458d Deuteranomaly 6% of men, 0.4% of women
  • #53446e Tritanomaly 0.01% of the population