#1f1828 Color Information

In a RGB color space, hex #1f1828 is composed of 12.2% red, 9.4% green and 15.7% blue. Whereas in a CMYK color space, it is composed of 22.5% cyan, 40% magenta, 0% yellow and 84.3% black. It has a hue angle of 266.3 degrees, a saturation of 25% and a lightness of 12.5%. #1f1828 color hex could be obtained by blending #3e3050 with #000000. Closest websafe color is: #330033.

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

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

#1f1828 Color Conversion

The hexadecimal color #1f1828 has RGB values of R:31, G:24, B:40 and CMYK values of C:0.23, M:0.4, Y:0, K:0.84. Its decimal value is 2037800.

Hex triplet 1f1828 #1f1828
RGB Decimal 31, 24, 40 rgb(31,24,40)
RGB Percent 12.2, 9.4, 15.7 rgb(12.2%,9.4%,15.7%)
CMYK 23, 40, 0, 84
HSL 266.3°, 25, 12.5 hsl(266.3,25%,12.5%)
HSV (or HSB) 266.3°, 40, 15.7
Web Safe 330033 #330033
CIE-LAB 9.781, 7.668, -9.625
XYZ 1.275, 1.098, 2.152
xyY 0.282, 0.243, 1.098
CIE-LCH 9.781, 12.306, 308.541
CIE-LUV 9.781, 1.636, -7.633
Hunter-Lab 10.478, 3.38, -4.844
Binary 00011111, 00011000, 00101000

Color Schemes with #1f1828

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

Alternatives to #1f1828

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

Similar Colors

#1f1828 Preview

Text with hexadecimal color #1f1828

This text has a font color of #1f1828.

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

This paragraph has a background color of #1f1828.

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

This element has a border color of #1f1828.

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

Shades and Tints of #1f1828

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

Shade Color Variation
Tint Color Variation

Tones of #1f1828

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #1f1828 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
  • #1d1b1e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #222634 Protanopia 1% of men
  • #232632 Deuteranopia 1% of men
  • #282628 Tritanopia 0.001% of the population
Trichromacy
  • #212130 Protanomaly 1% of men, 0.01% of women
  • #22212e Deuteranomaly 6% of men, 0.4% of women
  • #252128 Tritanomaly 0.01% of the population