#5128b2 Color Information

In a RGB color space, hex #5128b2 is composed of 31.8% red, 15.7% green and 69.8% blue. Whereas in a CMYK color space, it is composed of 54.5% cyan, 77.5% magenta, 0% yellow and 30.2% black. It has a hue angle of 257.8 degrees, a saturation of 63.3% and a lightness of 42.7%. #5128b2 color hex could be obtained by blending #a250ff with #000065. Closest websafe color is: #663399.

    • R 32
    • G 16
    • B 70
    RGB color chart
    • C 54
    • M 78
    • Y 0
    • K 30
    CMYK color chart

#5128b2 color description : Dark violet.

#5128b2 Color Conversion

The hexadecimal color #5128b2 has RGB values of R:81, G:40, B:178 and CMYK values of C:0.54, M:0.78, Y:0, K:0.3. Its decimal value is 5318834.

Hex triplet 5128b2 #5128b2
RGB Decimal 81, 40, 178 rgb(81,40,178)
RGB Percent 31.8, 15.7, 69.8 rgb(31.8%,15.7%,69.8%)
CMYK 54, 78, 0, 30
HSL 257.8°, 63.3, 42.7 hsl(257.8,63.3%,42.7%)
HSV (or HSB) 257.8°, 77.5, 69.8
Web Safe 663399 #663399
CIE-LAB 30.595, 51.286, -66.086
XYZ 12.187, 6.481, 42.726
xyY 0.198, 0.106, 6.481
CIE-LCH 30.595, 83.652, 307.813
CIE-LUV 30.595, 2.919, -88.624
Hunter-Lab 25.458, 40.896, -81.686
Binary 01010001, 00101000, 10110010

Color Schemes with #5128b2

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

Alternatives to #5128b2

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

Similar Colors

#5128b2 Preview

Text with hexadecimal color #5128b2

This text has a font color of #5128b2.

<span style="color:#5128b2;">Text here</span>
#5128b2 background color

This paragraph has a background color of #5128b2.

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

This element has a border color of #5128b2.

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

Shades and Tints of #5128b2

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

Shade Color Variation
Tint Color Variation

Tones of #5128b2

A tone is produced by adding gray to any pure hue. In this case, #6c6b6f is the less saturated color, while #4306d4 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5128b2 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
  • #444444 Achromatopsia 0.005% of the population
  • #473e5a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004f9a Protanopia 1% of men
  • #005386 Deuteranopia 1% of men
  • #31565d Tritanopia 0.001% of the population
Trichromacy
  • #1d40a2 Protanomaly 1% of men, 0.01% of women
  • #1d4396 Deuteranomaly 6% of men, 0.4% of women
  • #3d457c Tritanomaly 0.01% of the population