#1f1228 Color Information

In a RGB color space, hex #1f1228 is composed of 12.2% red, 7.1% green and 15.7% blue. Whereas in a CMYK color space, it is composed of 22.5% cyan, 55% magenta, 0% yellow and 84.3% black. It has a hue angle of 275.5 degrees, a saturation of 37.9% and a lightness of 11.4%. #1f1228 color hex could be obtained by blending #3e2450 with #000000. Closest websafe color is: #330033.

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

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

#1f1228 Color Conversion

The hexadecimal color #1f1228 has RGB values of R:31, G:18, B:40 and CMYK values of C:0.23, M:0.55, Y:0, K:0.84. Its decimal value is 2036264.

Hex triplet 1f1228 #1f1228
RGB Decimal 31, 18, 40 rgb(31,18,40)
RGB Percent 12.2, 7.1, 15.7 rgb(12.2%,7.1%,15.7%)
CMYK 23, 55, 0, 84
HSL 275.5°, 37.9, 11.4 hsl(275.5,37.9%,11.4%)
HSV (or HSB) 275.5°, 55, 15.7
Web Safe 330033 #330033
CIE-LAB 7.923, 12.144, -12.519
XYZ 1.164, 0.877, 2.115
xyY 0.28, 0.211, 0.877
CIE-LCH 7.923, 17.441, 314.13
CIE-LUV 7.923, 2.833, -8.896
Hunter-Lab 9.366, 5.801, -6.835
Binary 00011111, 00010010, 00101000

Color Schemes with #1f1228

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

Alternatives to #1f1228

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

Similar Colors

#1f1228 Preview

Text with hexadecimal color #1f1228

This text has a font color of #1f1228.

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

This paragraph has a background color of #1f1228.

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

This element has a border color of #1f1228.

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

Shades and Tints of #1f1228

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, #0a060d is the darkest color, while #fffeff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #1f1228

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #1f1228 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.

  • #181818 Achromatopsia 0.005% of the population
  • #19171b Atypical Achromatopsia 0.001% of the population
  • #1b2236 Protanopia 1% of men
  • #1d2331 Deuteranopia 1% of men
  • #272124 Tritanopia 0.001% of the population
  • #1c1c31 Protanomaly 1% of men, 0.01% of women
  • #1d1c2e Deuteranomaly 6% of men, 0.4% of women
  • #241c25 Tritanomaly 0.01% of the population