#1D143A

Closest named color: Midnight Purple (#280137). oklch(22.7% 0.07 290.6), rgb(29, 20, 58).

Aa

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

About this color

#1D143A is a very dark, moderately saturated purple. In OKLCH its lightness is 23%, its chroma 0.070 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight Purple (#280137), ΔE 0.049 away. White text reads best on it, at 17.30:1.

Hue familyPurples
Lightnessvery dark (23%)
Chromamoderately saturated (0.070)
Temperaturein between
Nearest nameMidnight Purple (#280137)
Black text1.21:1
White text17.30:1

Values

HEX#1D143A
RGBrgb(29, 20, 58)
HSLhsl(254, 49%, 15%)
OKLCHoklch(22.7% 0.07 290.6)

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 #1D143A 17.30:1 AAA Lc -106.4 Preferred for body text
Black text on #1D143A 1.21:1 Fails Lc 0.0 Not readable
#1D143A text on white 17.30:1 AAA Lc 104.0 Preferred for body text
#1D143A text on black 1.21: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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E7F9

    oklch(93.5% 0.024 291)

  3. Step 200

    200

    #D8D4F6

    oklch(88.4% 0.047 290.8)

  4. Step 300

    300

    #C0B8F3

    oklch(81% 0.083 290.6)

  5. Step 400

    400

    #A191ED

    oklch(70.8% 0.133 290.6)

  6. Step 500

    500

    #8B72E7

    oklch(63% 0.17 290.5)

  7. Step 600

    600

    #7757D5

    oklch(55.6% 0.185 290.8)

  8. Step 700

    700

    #6446B9

    oklch(49% 0.173 290.6)

  9. Step 800

    800

    #513B96

    oklch(42.7% 0.143 290.2)

  10. Step 900

    900

    #433377

    oklch(37.6% 0.112 290.9)

  11. Step 950

    950 (this color)

    #1D143A

    oklch(22.7% 0.07 290.6)

Export this scale for Tailwind in the Tailwind colors tool

#1D143A 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)#021B3B0.042
Deuteranopia (no green cones)#031A390.041
Tritanopia (no blue cones)#151C240.057
Achromatopsia (no color)#1B1B1B0.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #1D143A

    #1D143A

    oklch(22.7% 0.07 290.6)

  • #1D1E00

    #1D1E00

    oklch(22.6% 0.05 111.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1D143A

    #1D143A

    oklch(22.7% 0.07 290.6)

  • #071A3C

    #071A3C

    oklch(22.5% 0.07 260.8)

  • #2A0E30

    #2A0E30

    oklch(22.6% 0.071 320.2)

Open the analogous palette in the generator

Split complementary

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

  • #1D143A

    #1D143A

    oklch(22.7% 0.07 290.6)

  • #271900

    #271900

    oklch(22.6% 0.047 80.5)

  • #052401

    #052401

    oklch(22.8% 0.072 140.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1D143A

    #1D143A

    oklch(22.7% 0.07 290.6)

  • #311200

    #311200

    oklch(22.7% 0.059 50.8)

  • #002319

    #002319

    oklch(22.8% 0.045 169.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1D143A

    #1D143A

    oklch(22.7% 0.07 290.6)

  • #360A0D

    #360A0D

    oklch(22.6% 0.07 21)

  • #1D1E00

    #1D1E00

    oklch(22.6% 0.05 111.5)

  • #002123

    #002123

    oklch(22.5% 0.038 200.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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