#21172e Color Information

In a RGB color space, hex #21172e is composed of 12.9% red, 9% green and 18% blue. Whereas in a CMYK color space, it is composed of 28.3% cyan, 50% magenta, 0% yellow and 82% black. It has a hue angle of 266.1 degrees, a saturation of 33.3% and a lightness of 13.5%. #21172e color hex could be obtained by blending #422e5c with #000000. Closest websafe color is: #330033.

    • R 13
    • G 9
    • B 18
    RGB color chart
    • C 28
    • M 50
    • Y 0
    • K 82
    CMYK color chart

#21172e color description : Very dark (mostly black) violet.

#21172e Color Conversion

The hexadecimal color #21172e has RGB values of R:33, G:23, B:46 and CMYK values of C:0.28, M:0.5, Y:0, K:0.82. Its decimal value is 2168622.

Hex triplet 21172e #21172e
RGB Decimal 33, 23, 46 rgb(33,23,46)
RGB Percent 12.9, 9, 18 rgb(12.9%,9%,18%)
CMYK 28, 50, 0, 82
HSL 266.1°, 33.3, 13.5 hsl(266.1,33.3%,13.5%)
HSV (or HSB) 266.1°, 50, 18
Web Safe 330033 #330033
CIE-LAB 10.057, 11.025, -13.599
XYZ 1.427, 1.133, 2.728
xyY 0.27, 0.214, 1.133
CIE-LCH 10.057, 17.507, 309.032
CIE-LUV 10.057, 2.17, -11.117
Hunter-Lab 10.646, 5.29, -7.742
Binary 00100001, 00010111, 00101110

Color Schemes with #21172e

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

Alternatives to #21172e

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

Similar Colors

#21172e Preview

Text with hexadecimal color #21172e

This text has a font color of #21172e.

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

This paragraph has a background color of #21172e.

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

This element has a border color of #21172e.

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

Shades and Tints of #21172e

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

Shade Color Variation
Tint Color Variation

Tones of #21172e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #21172e 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
  • #1d1d1d Achromatopsia 0.005% of the population
  • #1e1c20 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #1e263b Protanopia 1% of men
  • #202737 Deuteranopia 1% of men
  • #292629 Tritanopia 0.001% of the population
Trichromacy
  • #1f2136 Protanomaly 1% of men, 0.01% of women
  • #202134 Deuteranomaly 6% of men, 0.4% of women
  • #26202b Tritanomaly 0.01% of the population