#331158 Color Information

In a RGB color space, hex #331158 is composed of 20% red, 6.7% green and 34.5% blue. Whereas in a CMYK color space, it is composed of 42% cyan, 80.7% magenta, 0% yellow and 65.5% black. It has a hue angle of 268.7 degrees, a saturation of 67.6% and a lightness of 20.6%. #331158 color hex could be obtained by blending #6622b0 with #000000. Closest websafe color is: #330066.

    • R 20
    • G 7
    • B 35
    RGB color chart
    • C 42
    • M 81
    • Y 0
    • K 65
    CMYK color chart

#331158 color description : Very dark violet.

#331158 Color Conversion

The hexadecimal color #331158 has RGB values of R:51, G:17, B:88 and CMYK values of C:0.42, M:0.81, Y:0, K:0.65. Its decimal value is 3346776.

Hex triplet 331158 #331158
RGB Decimal 51, 17, 88 rgb(51,17,88)
RGB Percent 20, 6.7, 34.5 rgb(20%,6.7%,34.5%)
CMYK 42, 81, 0, 65
HSL 268.7°, 67.6, 20.6 hsl(268.7,67.6%,20.6%)
HSV (or HSB) 268.7°, 80.7, 34.5
Web Safe 330066 #330066
CIE-LAB 14.453, 32.294, -35.907
XYZ 3.327, 1.809, 9.406
xyY 0.229, 0.124, 1.809
CIE-LCH 14.453, 48.293, 311.968
CIE-LUV 14.453, 5.434, -35.859
Hunter-Lab 13.451, 20.609, -32.044
Binary 00110011, 00010001, 01011000

Color Schemes with #331158

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

Alternatives to #331158

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

Similar Colors

#331158 Preview

Text with hexadecimal color #331158

This text has a font color of #331158.

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

This paragraph has a background color of #331158.

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

This element has a border color of #331158.

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

Shades and Tints of #331158

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

Shade Color Variation
Tint Color Variation

Tones of #331158

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #331158 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
  • #232323 Achromatopsia 0.005% of the population
  • #261f2e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #002e5a Protanopia 1% of men
  • #00304f Deuteranopia 1% of men
  • #312f32 Tritanopia 0.001% of the population
Trichromacy
  • #122359 Protanomaly 1% of men, 0.01% of women
  • #122552 Deuteranomaly 6% of men, 0.4% of women
  • #322440 Tritanomaly 0.01% of the population