#31128b Color Information

In a RGB color space, hex #31128b is composed of 19.2% red, 7.1% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 64.7% cyan, 87.1% magenta, 0% yellow and 45.5% black. It has a hue angle of 255.4 degrees, a saturation of 77.1% and a lightness of 30.8%. #31128b color hex could be obtained by blending #6224ff with #000017. Closest websafe color is: #330099.

    • R 19
    • G 7
    • B 55
    RGB color chart
    • C 65
    • M 87
    • Y 0
    • K 45
    CMYK color chart

#31128b color description : Dark violet.

#31128b Color Conversion

The hexadecimal color #31128b has RGB values of R:49, G:18, B:139 and CMYK values of C:0.65, M:0.87, Y:0, K:0.45. Its decimal value is 3216011.

Hex triplet 31128b #31128b
RGB Decimal 49, 18, 139 rgb(49,18,139)
RGB Percent 19.2, 7.1, 54.5 rgb(19.2%,7.1%,54.5%)
CMYK 65, 87, 0, 45
HSL 255.4°, 77.1, 30.8 hsl(255.4,77.1%,30.8%)
HSV (or HSB) 255.4°, 87.1, 54.5
Web Safe 330099 #330099
CIE-LAB 19.84, 46.163, -60.134
XYZ 6.142, 2.949, 24.67
xyY 0.182, 0.087, 2.949
CIE-LCH 19.84, 75.81, 307.513
CIE-LUV 19.84, -0.085, -65.756
Hunter-Lab 17.174, 33.786, -73.148
Binary 00110001, 00010010, 10001011

Color Schemes with #31128b

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

Alternatives to #31128b

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

Similar Colors

#31128b Preview

Text with hexadecimal color #31128b

This text has a font color of #31128b.

<span style="color:#31128b;">Text here</span>
#31128b background color

This paragraph has a background color of #31128b.

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

This element has a border color of #31128b.

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

Shades and Tints of #31128b

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

Shade Color Variation
Tint Color Variation

Tones of #31128b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #31128b 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
  • #2b243d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00396e Protanopia 1% of men
  • #003c60 Deuteranopia 1% of men
  • #004044 Tritanopia 0.001% of the population
Trichromacy
  • #112a79 Protanomaly 1% of men, 0.01% of women
  • #112c6f Deuteranomaly 6% of men, 0.4% of women
  • #112f5e Tritanomaly 0.01% of the population