#5a2fb7 Color Information

In a RGB color space, hex #5a2fb7 is composed of 35.3% red, 18.4% green and 71.8% blue. Whereas in a CMYK color space, it is composed of 50.8% cyan, 74.3% magenta, 0% yellow and 28.2% black. It has a hue angle of 259 degrees, a saturation of 59.1% and a lightness of 45.1%. #5a2fb7 color hex could be obtained by blending #b45eff with #00006f. Closest websafe color is: #6633cc.

    • R 35
    • G 18
    • B 72
    RGB color chart
    • C 51
    • M 74
    • Y 0
    • K 28
    CMYK color chart

#5a2fb7 color description : Moderate violet.

#5a2fb7 Color Conversion

The hexadecimal color #5a2fb7 has RGB values of R:90, G:47, B:183 and CMYK values of C:0.51, M:0.74, Y:0, K:0.28. Its decimal value is 5910455.

Hex triplet 5a2fb7 #5a2fb7
RGB Decimal 90, 47, 183 rgb(90,47,183)
RGB Percent 35.3, 18.4, 71.8 rgb(35.3%,18.4%,71.8%)
CMYK 51, 74, 0, 28
HSL 259°, 59.1, 45.1 hsl(259,59.1%,45.1%)
HSV (or HSB) 259°, 74.3, 71.8
Web Safe 6633cc #6633cc
CIE-LAB 33.19, 50.633, -64.761
XYZ 13.779, 7.625, 45.543
xyY 0.206, 0.114, 7.625
CIE-LCH 33.19, 82.206, 308.02
CIE-LUV 33.19, 4.447, -90.244
Hunter-Lab 27.614, 40.742, -78.455
Binary 01011010, 00101111, 10110111

Color Schemes with #5a2fb7

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

Alternatives to #5a2fb7

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

Similar Colors

#5a2fb7 Preview

Text with hexadecimal color #5a2fb7

This text has a font color of #5a2fb7.

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

This paragraph has a background color of #5a2fb7.

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

This element has a border color of #5a2fb7.

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

Shades and Tints of #5a2fb7

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

Shade Color Variation
Tint Color Variation

Tones of #5a2fb7

A tone is produced by adding gray to any pure hue. In this case, #716d79 is the less saturated color, while #4a03e3 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a2fb7 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
  • #4b4b4b Achromatopsia 0.005% of the population
  • #4e4561 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0054a5 Protanopia 1% of men
  • #005990 Deuteranopia 1% of men
  • #405b62 Tritanopia 0.001% of the population
Trichromacy
  • #2047ab Protanomaly 1% of men, 0.01% of women
  • #204a9e Deuteranomaly 6% of men, 0.4% of women
  • #494b81 Tritanomaly 0.01% of the population