#31157a Color Information

In a RGB color space, hex #31157a is composed of 19.2% red, 8.2% green and 47.8% blue. Whereas in a CMYK color space, it is composed of 59.8% cyan, 82.8% magenta, 0% yellow and 52.2% black. It has a hue angle of 256.6 degrees, a saturation of 70.6% and a lightness of 28%. #31157a color hex could be obtained by blending #622af4 with #000000. Closest websafe color is: #330066.

    • R 19
    • G 8
    • B 48
    RGB color chart
    • C 60
    • M 83
    • Y 0
    • K 52
    CMYK color chart

#31157a color description : Dark violet.

#31157a Color Conversion

The hexadecimal color #31157a has RGB values of R:49, G:21, B:122 and CMYK values of C:0.6, M:0.83, Y:0, K:0.52. Its decimal value is 3216762.

Hex triplet 31157a #31157a
RGB Decimal 49, 21, 122 rgb(49,21,122)
RGB Percent 19.2, 8.2, 47.8 rgb(19.2%,8.2%,47.8%)
CMYK 60, 83, 0, 52
HSL 256.6°, 70.6, 28 hsl(256.6,70.6%,28%)
HSV (or HSB) 256.6°, 82.8, 47.8
Web Safe 330066 #330066
CIE-LAB 18.34, 39.916, -51.857
XYZ 5.047, 2.594, 18.646
xyY 0.192, 0.099, 2.594
CIE-LCH 18.34, 65.44, 307.586
CIE-LUV 18.34, 1.012, -55.936
Hunter-Lab 16.107, 27.745, -57.362
Binary 00110001, 00010101, 01111010

Color Schemes with #31157a

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

Alternatives to #31157a

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

Similar Colors

#31157a Preview

Text with hexadecimal color #31157a

This text has a font color of #31157a.

<span style="color:#31157a;">Text here</span>
#31157a background color

This paragraph has a background color of #31157a.

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

This element has a border color of #31157a.

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

Shades and Tints of #31157a

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

Shade Color Variation
Tint Color Variation

Tones of #31157a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #31157a 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
  • #292929 Achromatopsia 0.005% of the population
  • #2b2539 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003669 Protanopia 1% of men
  • #00395b Deuteranopia 1% of men
  • #163c40 Tritanopia 0.001% of the population
Trichromacy
  • #112a6f Protanomaly 1% of men, 0.01% of women
  • #112c66 Deuteranomaly 6% of men, 0.4% of women
  • #202e55 Tritanomaly 0.01% of the population