#5102a2 Color Information

In a RGB color space, hex #5102a2 is composed of 31.8% red, 0.8% green and 63.5% blue. Whereas in a CMYK color space, it is composed of 50% cyan, 98.8% magenta, 0% yellow and 36.5% black. It has a hue angle of 269.6 degrees, a saturation of 97.6% and a lightness of 32.2%. #5102a2 color hex could be obtained by blending #a204ff with #000045. Closest websafe color is: #660099.

    • R 32
    • G 1
    • B 64
    RGB color chart
    • C 50
    • M 99
    • Y 0
    • K 36
    CMYK color chart

#5102a2 color description : Dark violet.

#5102a2 Color Conversion

The hexadecimal color #5102a2 has RGB values of R:81, G:2, B:162 and CMYK values of C:0.5, M:0.99, Y:0, K:0.36. Its decimal value is 5309090.

Hex triplet 5102a2 #5102a2
RGB Decimal 81, 2, 162 rgb(81,2,162)
RGB Percent 31.8, 0.8, 63.5 rgb(31.8%,0.8%,63.5%)
CMYK 50, 99, 0, 36
HSL 269.6°, 97.6, 32.2 hsl(269.6,97.6%,32.2%)
HSV (or HSB) 269.6°, 98.8, 63.5
Web Safe 660099 #660099
CIE-LAB 24.956, 58.999, -65.743
XYZ 9.936, 4.401, 34.506
xyY 0.203, 0.09, 4.401
CIE-LCH 24.956, 88.335, 311.906
CIE-LUV 24.956, 7.655, -80.337
Hunter-Lab 20.979, 47.821, -82.834
Binary 01010001, 00000010, 10100010

Color Schemes with #5102a2

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

Alternatives to #5102a2

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

Similar Colors

#5102a2 Preview

Text with hexadecimal color #5102a2

This text has a font color of #5102a2.

<span style="color:#5102a2;">Text here</span>
#5102a2 background color

This paragraph has a background color of #5102a2.

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

This element has a border color of #5102a2.

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

Shades and Tints of #5102a2

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

Shade Color Variation
Tint Color Variation

Tones of #5102a2

A tone is produced by adding gray to any pure hue. In this case, #524e56 is the less saturated color, while #5102a2 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5102a2 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.

  • #2c2c2c Achromatopsia 0.005% of the population
  • #332444 Atypical Achromatopsia 0.001% of the population
  • #004382 Protanopia 1% of men
  • #004771 Deuteranopia 1% of men
  • #3a474c Tritanopia 0.001% of the population
  • #1d2b8e Protanomaly 1% of men, 0.01% of women
  • #1d2e83 Deuteranomaly 6% of men, 0.4% of women
  • #422e6b Tritanomaly 0.01% of the population