#1F1938

Dark Purple

HEX

RGB

HSL

About #1F1938 Dark Purple

#1F1938 is a dark purple color. In the RGB color model, it is composed of 31 red, 25 green, and 56 blue. In the HSL color space, it has a hue of 252°, saturation of 38%, and lightness of 16%.

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 #1F1938 in your CSS, SCSS, or Tailwind projects.

Color Properties

252°

Hue

38%

Saturation

16%

Lightness

Dark Purple

Color Harmonies

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

Accessibility

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

Aa#1F1938 on White
Contrast Ratio16.74:1
AA AA Large AAA
Aa#1F1938 on Black
Contrast Ratio1.25:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #1F1938 across different color formats.

FormatValue
HEX#1F1938
RGBrgb(31, 25, 56)
HSLhsl(252, 38%, 16%)
RGB Decimal31, 25, 56
RGB Percent12.2%, 9.8%, 22.0%
CMYK (approx.)45%, 55%, 0%, 78%

Related Palettes

12 palettes using #1F1938 or similar colors

#1A1A2E#16213E#0F3460#E94560
#0B0B0D#1A1A2E#E94560#FFBD39
#1B2430#51557E#816797#D6D5A8
#121122#252343#373465#484488
#222831#393E46#00ADB5#EEEEEE
#111222#1F2247#323767#3B4291
#1B262C#0F4C75#3282B8#BBE1FA
#08D9D6#252A34#FF2E63#EAEAEA
#101323#222744#323967#32409A
#111522#212945#2B3A6E#435289
#0F0E0E#232D3F#005B41#008170
#1F0E25#402848#67337A#825991