#1F1544

Closest named color: Dark Indigo (#1F0954). oklch(24% 0.084 288.1), rgb(31, 21, 68).

Aa

White text reads best on this color (16.81:1).

About this color

#1F1544 is a very dark, moderately saturated purple. In OKLCH its lightness is 24%, its chroma 0.084 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Indigo (#1F0954), ΔE 0.037 away. White text reads best on it, at 16.81:1.

Hue familyPurples
Lightnessvery dark (24%)
Chromamoderately saturated (0.084)
Temperaturecool
Nearest nameDark Indigo (#1F0954)
Black text1.24:1
White text16.81:1

Values

HEX#1F1544
RGBrgb(31, 21, 68)
HSLhsl(253, 53%, 17%)
OKLCHoklch(24% 0.084 288.1)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #1F1544 16.81:1 AAA Lc -106.0 Preferred for body text
Black text on #1F1544 1.24:1 Fails Lc 0.0 Not readable
#1F1544 text on white 16.81:1 AAA Lc 103.5 Preferred for body text
#1F1544 text on black 1.24:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.

  1. Step 50

    50

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E8E7FD

    oklch(93.5% 0.03 287.9)

  3. Step 200

    200

    #D7D4FD

    oklch(88.5% 0.056 288.5)

  4. Step 300

    300

    #BDB7FE

    oklch(81% 0.099 287.8)

  5. Step 400

    400

    #9D8DFD

    oklch(70.6% 0.16 288.1)

  6. Step 500

    500

    #886CFB

    oklch(63.1% 0.204 288.1)

  7. Step 600

    600

    #744EEA

    oklch(55.6% 0.222 288.1)

  8. Step 700

    700

    #623DCC

    oklch(49.1% 0.207 288.1)

  9. Step 800

    800

    #5034A5

    oklch(42.8% 0.172 288.3)

  10. Step 900

    900

    #412F83

    oklch(37.6% 0.135 288)

  11. Step 950

    950 (this color)

    #1F1544

    oklch(24% 0.084 288.1)

Export this scale for Tailwind in the Tailwind colors tool

#1F1544 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#001E460.046
Deuteranopia (no green cones)#001C430.046
Tritanopia (no blue cones)#13202A0.069
Achromatopsia (no color)#1D1D1D0.085

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #1F1544

    #1F1544

    oklch(24% 0.084 288.1)

  • #222100

    #222100

    oklch(24.1% 0.052 108.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F1544

    #1F1544

    oklch(24% 0.084 288.1)

  • #021D46

    #021D46

    oklch(24% 0.084 258.3)

  • #2F0E38

    #2F0E38

    oklch(24% 0.084 318.4)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #1F1544

    #1F1544

    oklch(24% 0.084 288.1)

  • #2C1C00

    #2C1C00

    oklch(24.1% 0.05 78.9)

  • #0A2700

    #0A2700

    oklch(24.1% 0.074 138)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F1544

    #1F1544

    oklch(24% 0.084 288.1)

  • #371300

    #371300

    oklch(24% 0.066 47.8)

  • #00261B

    #00261B

    oklch(23.9% 0.048 169.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F1544

    #1F1544

    oklch(24% 0.084 288.1)

  • #3E060F

    #3E060F

    oklch(23.9% 0.084 17.9)

  • #222100

    #222100

    oklch(24.1% 0.052 108.1)

  • #002526

    #002526

    oklch(24% 0.041 197.5)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #1F1544, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #1F1544 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.