#1f182a Color Information

In a RGB color space, hex #1f182a is composed of 12.2% red, 9.4% green and 16.5% blue. Whereas in a CMYK color space, it is composed of 26.2% cyan, 42.9% magenta, 0% yellow and 83.5% black. It has a hue angle of 263.3 degrees, a saturation of 27.3% and a lightness of 12.9%. #1f182a color hex could be obtained by blending #3e3054 with #000000. Closest websafe color is: #330033.

    • R 12
    • G 9
    • B 16
    RGB color chart
    • C 26
    • M 43
    • Y 0
    • K 84
    CMYK color chart

#1f182a color description : Very dark (mostly black) violet.

#1f182a Color Conversion

The hexadecimal color #1f182a has RGB values of R:31, G:24, B:42 and CMYK values of C:0.26, M:0.43, Y:0, K:0.84. Its decimal value is 2037802.

Hex triplet 1f182a #1f182a
RGB Decimal 31, 24, 42 rgb(31,24,42)
RGB Percent 12.2, 9.4, 16.5 rgb(12.2%,9.4%,16.5%)
CMYK 26, 43, 0, 84
HSL 263.3°, 27.3, 12.9 hsl(263.3,27.3%,12.9%)
HSV (or HSB) 263.3°, 42.9, 16.5
Web Safe 330033 #330033
CIE-LAB 9.89, 8.273, -10.936
XYZ 1.31, 1.112, 2.336
xyY 0.275, 0.234, 1.112
CIE-LCH 9.89, 13.713, 307.109
CIE-LUV 9.89, 1.51, -8.743
Hunter-Lab 10.544, 3.718, -5.755
Binary 00011111, 00011000, 00101010

Color Schemes with #1f182a

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

Alternatives to #1f182a

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

Similar Colors

#1f182a Preview

Text with hexadecimal color #1f182a

This text has a font color of #1f182a.

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

This paragraph has a background color of #1f182a.

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

This element has a border color of #1f182a.

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

Shades and Tints of #1f182a

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

Shade Color Variation
Tint Color Variation

Tones of #1f182a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #1f182a 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
  • #1c1c1c Achromatopsia 0.005% of the population
  • #1d1b1f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #212636 Protanopia 1% of men
  • #222634 Deuteranopia 1% of men
  • #282629 Tritanopia 0.001% of the population
Trichromacy
  • #202132 Protanomaly 1% of men, 0.01% of women
  • #212130 Deuteranomaly 6% of men, 0.4% of women
  • #242129 Tritanomaly 0.01% of the population