#5a2fb9 Color Information

In a RGB color space, hex #5a2fb9 is composed of 35.3% red, 18.4% green and 72.5% blue. Whereas in a CMYK color space, it is composed of 51.4% cyan, 74.6% magenta, 0% yellow and 27.5% black. It has a hue angle of 258.7 degrees, a saturation of 59.5% and a lightness of 45.5%. #5a2fb9 color hex could be obtained by blending #b45eff with #000073. Closest websafe color is: #6633cc.

    • R 35
    • G 18
    • B 73
    RGB color chart
    • C 51
    • M 75
    • Y 0
    • K 27
    CMYK color chart

#5a2fb9 color description : Moderate violet.

#5a2fb9 Color Conversion

The hexadecimal color #5a2fb9 has RGB values of R:90, G:47, B:185 and CMYK values of C:0.51, M:0.75, Y:0, K:0.27. Its decimal value is 5910457.

Hex triplet 5a2fb9 #5a2fb9
RGB Decimal 90, 47, 185 rgb(90,47,185)
RGB Percent 35.3, 18.4, 72.5 rgb(35.3%,18.4%,72.5%)
CMYK 51, 75, 0, 27
HSL 258.7°, 59.5, 45.5 hsl(258.7,59.5%,45.5%)
HSV (or HSB) 258.7°, 74.6, 72.5
Web Safe 6633cc #6633cc
CIE-LAB 33.37, 51.184, -65.651
XYZ 13.988, 7.709, 46.647
xyY 0.205, 0.113, 7.709
CIE-LCH 33.37, 83.246, 307.941
CIE-LUV 33.37, 4.22, -91.512
Hunter-Lab 27.765, 41.339, -80.174
Binary 01011010, 00101111, 10111001

Color Schemes with #5a2fb9

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

Alternatives to #5a2fb9

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

Similar Colors

#5a2fb9 Preview

Text with hexadecimal color #5a2fb9

This text has a font color of #5a2fb9.

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

This paragraph has a background color of #5a2fb9.

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

This element has a border color of #5a2fb9.

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

Shades and Tints of #5a2fb9

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

Shade Color Variation
Tint Color Variation

Tones of #5a2fb9

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a2fb9 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
  • #4c4c4c Achromatopsia 0.005% of the population
  • #4f4662 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0055a5 Protanopia 1% of men
  • #005990 Deuteranopia 1% of men
  • #3f5c62 Tritanopia 0.001% of the population
Trichromacy
  • #2047ac Protanomaly 1% of men, 0.01% of women
  • #204a9f Deuteranomaly 6% of men, 0.4% of women
  • #484b82 Tritanomaly 0.01% of the population