#1F1226

Dark Purple

HEX

RGB

HSL

About #1F1226 Dark Purple

#1F1226 is a dark purple color. In the RGB color model, it is composed of 31 red, 18 green, and 38 blue. In the HSL color space, it has a hue of 279°, saturation of 36%, and lightness of 11%.

This color has a low lightness value, making it a dark color great for text and bold accents. With moderate saturation, it appears balanced and versatile.

CSS Code

Use #1F1226 in your CSS, SCSS, or Tailwind projects.

Color Properties

279°

Hue

36%

Saturation

11%

Lightness

Dark Purple

Color Harmonies

Colors that work well with #1F1226 based on color theory.

Accessibility

WCAG 2.1 contrast ratio of #1F1226 against white and black backgrounds.

Aa#1F1226 on White
Contrast Ratio17.91:1
AA AA Large AAA
Aa#1F1226 on Black
Contrast Ratio1.17:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #1F1226 across different color formats.

FormatValue
HEX#1F1226
RGBrgb(31, 18, 38)
HSLhsl(279, 36%, 11%)
RGB Decimal31, 18, 38
RGB Percent12.2%, 7.1%, 14.9%
CMYK (approx.)18%, 53%, 0%, 85%

Related Palettes

12 palettes using #1F1226 or similar colors

#1F1023#481E52#6F307D#993CAE
#1D0F24#3E254B#5F3B72#8541AA
#1F0E25#402848#67337A#825991
#1E0E25#421C54#5E436B#8647A4
#1C1023#3E2150#5C406D#7C5991
#1C0F24#3D214F#5B416C#7E4C9F
#1E1221#42254B#614469#865694
#1E1221#491F51#6E3479#8C5497
#1C1122#3C2C44#603E6F#8A3CAF
#201221#4F1C54#713777#8B5C8F
#1D1221#3E2B45#61406E#8C46A5
#1D1221#431E52#60416C#805D8E