#5102a8 Color Information

In a RGB color space, hex #5102a8 is composed of 31.8% red, 0.8% green and 65.9% blue. Whereas in a CMYK color space, it is composed of 51.8% cyan, 98.8% magenta, 0% yellow and 34.1% black. It has a hue angle of 268.6 degrees, a saturation of 97.6% and a lightness of 33.3%. #5102a8 color hex could be obtained by blending #a204ff with #000051. Closest websafe color is: #660099.

    • R 32
    • G 1
    • B 66
    RGB color chart
    • C 52
    • M 99
    • Y 0
    • K 34
    CMYK color chart

#5102a8 color description : Dark violet.

#5102a8 Color Conversion

The hexadecimal color #5102a8 has RGB values of R:81, G:2, B:168 and CMYK values of C:0.52, M:0.99, Y:0, K:0.34. Its decimal value is 5309096.

Hex triplet 5102a8 #5102a8
RGB Decimal 81, 2, 168 rgb(81,2,168)
RGB Percent 31.8, 0.8, 65.9 rgb(31.8%,0.8%,65.9%)
CMYK 52, 99, 0, 34
HSL 268.6°, 97.6, 33.3 hsl(268.6,97.6%,33.3%)
HSV (or HSB) 268.6°, 98.8, 65.9
Web Safe 660099 #660099
CIE-LAB 25.623, 60.365, -68.282
XYZ 10.482, 4.62, 37.383
xyY 0.2, 0.088, 4.62
CIE-LCH 25.623, 91.139, 311.478
CIE-LUV 25.623, 6.866, -83.841
Hunter-Lab 21.494, 49.434, -88.075
Binary 01010001, 00000010, 10101000

Color Schemes with #5102a8

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

Alternatives to #5102a8

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

Similar Colors

#5102a8 Preview

Text with hexadecimal color #5102a8

This text has a font color of #5102a8.

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

This paragraph has a background color of #5102a8.

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

This element has a border color of #5102a8.

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

Shades and Tints of #5102a8

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

Shade Color Variation
Tint Color Variation

Tones of #5102a8

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5102a8 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
  • #2d2d2d Achromatopsia 0.005% of the population
  • #342446 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004485 Protanopia 1% of men
  • #004874 Deuteranopia 1% of men
  • #36494f Tritanopia 0.001% of the population
Trichromacy
  • #1d2c92 Protanomaly 1% of men, 0.01% of women
  • #1d2f86 Deuteranomaly 6% of men, 0.4% of women
  • #3f2f6f Tritanomaly 0.01% of the population