#1D1638

Closest named color: Rich Black (#0D1B2A). oklch(22.9% 0.064 289.9), rgb(29, 22, 56).

Aa

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

About this color

#1D1638 is a very dark, muted purple. In OKLCH its lightness is 23%, its chroma 0.064 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.044 away. White text reads best on it, at 17.15:1.

Hue familyPurples
Lightnessvery dark (23%)
Chromamuted (0.064)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.22:1
White text17.15:1

Values

HEX#1D1638
RGBrgb(29, 22, 56)
HSLhsl(252, 44%, 15%)
OKLCHoklch(22.9% 0.064 289.9)

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 #1D1638 17.15:1 AAA Lc -106.3 Preferred for body text
Black text on #1D1638 1.22:1 Fails Lc 0.0 Not readable
#1D1638 text on white 17.15:1 AAA Lc 103.9 Preferred for body text
#1D1638 text on black 1.22: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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F8

    oklch(93.6% 0.021 288.9)

  3. Step 200

    200

    #D8D5F4

    oklch(88.5% 0.042 289.9)

  4. Step 300

    300

    #BFB9EF

    oklch(80.9% 0.076 289.7)

  5. Step 400

    400

    #A093E6

    oklch(70.7% 0.12 290.2)

  6. Step 500

    500

    #8A76DF

    oklch(63.2% 0.154 290)

  7. Step 600

    600

    #755CCD

    oklch(55.7% 0.168 290)

  8. Step 700

    700

    #624BB1

    oklch(49.1% 0.155 289.8)

  9. Step 800

    800

    #503E8F

    oklch(42.7% 0.129 290.1)

  10. Step 900

    900

    #423672

    oklch(37.7% 0.099 290)

  11. Step 950

    950 (this color)

    #1D1638

    oklch(22.9% 0.064 289.9)

Export this scale for Tailwind in the Tailwind colors tool

#1D1638 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)#071C390.036
Deuteranopia (no green cones)#081B370.034
Tritanopia (no blue cones)#151D240.052
Achromatopsia (no color)#1B1B1B0.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #1D1638

    #1D1638

    oklch(22.9% 0.064 289.9)

  • #1E1E00

    #1E1E00

    oklch(22.8% 0.05 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1D1638

    #1D1638

    oklch(22.9% 0.064 289.9)

  • #091C3A

    #091C3A

    oklch(23% 0.063 259.2)

  • #29112F

    #29112F

    oklch(22.9% 0.064 319.3)

Open the analogous palette in the generator

Split complementary

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

  • #1D1638

    #1D1638

    oklch(22.9% 0.064 289.9)

  • #281A00

    #281A00

    oklch(23% 0.047 81.2)

  • #0A2304

    #0A2304

    oklch(22.8% 0.063 139.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1D1638

    #1D1638

    oklch(22.9% 0.064 289.9)

  • #321200

    #321200

    oklch(22.9% 0.06 50)

  • #002319

    #002319

    oklch(22.8% 0.045 169.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1D1638

    #1D1638

    oklch(22.9% 0.064 289.9)

  • #350D10

    #350D10

    oklch(22.9% 0.064 19.4)

  • #1E1E00

    #1E1E00

    oklch(22.8% 0.05 109.8)

  • #002224

    #002224

    oklch(22.9% 0.039 200.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1D1638 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.