#1f152a Color Information

In a RGB color space, hex #1f152a is composed of 12.2% red, 8.2% green and 16.5% blue. Whereas in a CMYK color space, it is composed of 26.2% cyan, 50% magenta, 0% yellow and 83.5% black. It has a hue angle of 268.6 degrees, a saturation of 33.3% and a lightness of 12.4%. #1f152a color hex could be obtained by blending #3e2a54 with #000000. Closest websafe color is: #330033.

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

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

#1f152a Color Conversion

The hexadecimal color #1f152a has RGB values of R:31, G:21, B:42 and CMYK values of C:0.26, M:0.5, Y:0, K:0.84. Its decimal value is 2037034.

Hex triplet 1f152a #1f152a
RGB Decimal 31, 21, 42 rgb(31,21,42)
RGB Percent 12.2, 8.2, 16.5 rgb(12.2%,8.2%,16.5%)
CMYK 26, 50, 0, 84
HSL 268.6°, 33.3, 12.4 hsl(268.6,33.3%,12.4%)
HSV (or HSB) 268.6°, 50, 16.5
Web Safe 330033 #330033
CIE-LAB 8.948, 10.52, -12.404
XYZ 1.251, 0.995, 2.316
xyY 0.274, 0.218, 0.995
CIE-LCH 8.948, 16.265, 310.303
CIE-LUV 8.948, 2.162, -9.437
Hunter-Lab 9.974, 4.936, -6.788
Binary 00011111, 00010101, 00101010

Color Schemes with #1f152a

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

Alternatives to #1f152a

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

Similar Colors

#1f152a Preview

Text with hexadecimal color #1f152a

This text has a font color of #1f152a.

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

This paragraph has a background color of #1f152a.

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

This element has a border color of #1f152a.

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

Shades and Tints of #1f152a

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

Shade Color Variation
Tint Color Variation

Tones of #1f152a

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

Tone Color Variation

Color Blindness Simulator

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

  • #1a1a1a Achromatopsia 0.005% of the population
  • #1b191d Atypical Achromatopsia 0.001% of the population
  • #1d2437 Protanopia 1% of men
  • #1f2533 Deuteranopia 1% of men
  • #272426 Tritanopia 0.001% of the population
  • #1e1f32 Protanomaly 1% of men, 0.01% of women
  • #1f1f30 Deuteranomaly 6% of men, 0.4% of women
  • #241e28 Tritanomaly 0.01% of the population