#1F173A

Dark Purple

HEX

RGB

HSL

About #1F173A Dark Purple

#1F173A is a dark purple color. In the RGB color model, it is composed of 31 red, 23 green, and 58 blue. In the HSL color space, it has a hue of 254°, saturation of 43%, 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 #1F173A in your CSS, SCSS, or Tailwind projects.

Color Properties

254°

Hue

43%

Saturation

16%

Lightness

Dark Purple

Color Harmonies

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

Accessibility

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

Aa#1F173A on White
Contrast Ratio16.91:1
AA AA Large AAA
Aa#1F173A on Black
Contrast Ratio1.24:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #1F173A across different color formats.

FormatValue
HEX#1F173A
RGBrgb(31, 23, 58)
HSLhsl(254, 43%, 16%)
RGB Decimal31, 23, 58
RGB Percent12.2%, 9.0%, 22.7%
CMYK (approx.)47%, 60%, 0%, 77%

Related Palettes

12 palettes using #1F173A or similar colors

#1A1A2E#16213E#0F3460#E94560
#0B0B0D#1A1A2E#E94560#FFBD39
#121122#252343#373465#484488
#1B2430#51557E#816797#D6D5A8
#111222#1F2247#323767#3B4291
#101323#222744#323967#32409A
#222831#393E46#00ADB5#EEEEEE
#141122#22184E#3E3564#432F9D
#08D9D6#252A34#FF2E63#EAEAEA
#1B262C#0F4C75#3282B8#BBE1FA
#111522#212945#2B3A6E#435289
#160A29#2F2046#452574#5F418B