#5123b2 Color Information

In a RGB color space, hex #5123b2 is composed of 31.8% red, 13.7% green and 69.8% blue. Whereas in a CMYK color space, it is composed of 54.5% cyan, 80.3% magenta, 0% yellow and 30.2% black. It has a hue angle of 259.3 degrees, a saturation of 67.1% and a lightness of 41.8%. #5123b2 color hex could be obtained by blending #a246ff with #000065. Closest websafe color is: #663399.

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

#5123b2 color description : Dark violet.

#5123b2 Color Conversion

The hexadecimal color #5123b2 has RGB values of R:81, G:35, B:178 and CMYK values of C:0.54, M:0.8, Y:0, K:0.3. Its decimal value is 5317554.

Hex triplet 5123b2 #5123b2
RGB Decimal 81, 35, 178 rgb(81,35,178)
RGB Percent 31.8, 13.7, 69.8 rgb(31.8%,13.7%,69.8%)
CMYK 54, 80, 0, 30
HSL 259.3°, 67.1, 41.8 hsl(259.3,67.1%,41.8%)
HSV (or HSB) 259.3°, 80.3, 69.8
Web Safe 663399 #663399
CIE-LAB 29.826, 53.507, -67.351
XYZ 12.029, 6.165, 42.673
xyY 0.198, 0.101, 6.165
CIE-LCH 29.826, 86.018, 308.465
CIE-LUV 29.826, 3.521, -89.066
Hunter-Lab 24.83, 43.019, -84.514
Binary 01010001, 00100011, 10110010

Color Schemes with #5123b2

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

Alternatives to #5123b2

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

Similar Colors

#5123b2 Preview

Text with hexadecimal color #5123b2

This text has a font color of #5123b2.

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

This paragraph has a background color of #5123b2.

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

This element has a border color of #5123b2.

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

Shades and Tints of #5123b2

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

Shade Color Variation
Tint Color Variation

Tones of #5123b2

A tone is produced by adding gray to any pure hue. In this case, #686570 is the less saturated color, while #4502d3 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5123b2 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
  • #414141 Achromatopsia 0.005% of the population
  • #443b58 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004d96 Protanopia 1% of men
  • #005183 Deuteranopia 1% of men
  • #30555b Tritanopia 0.001% of the population
Trichromacy
  • #1d3ea0 Protanomaly 1% of men, 0.01% of women
  • #1d4094 Deuteranomaly 6% of men, 0.4% of women
  • #3c427a Tritanomaly 0.01% of the population