#1D143B

Closest named color: Midnight Purple (#280137). oklch(22.8% 0.072 290.1), rgb(29, 20, 59).

Aa

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

About this color

#1D143B is a very dark, moderately saturated purple. In OKLCH its lightness is 23%, its chroma 0.072 and its hue 290°. 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.27:1.

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

Values

HEX#1D143B
RGBrgb(29, 20, 59)
HSLhsl(254, 49%, 15%)
OKLCHoklch(22.8% 0.072 290.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 #1D143B 17.27:1 AAA Lc -106.3 Preferred for body text
Black text on #1D143B 1.21:1 Fails Lc 0.0 Not readable
#1D143B text on white 17.27:1 AAA Lc 104.0 Preferred for body text
#1D143B 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

    #E9E7FA

    oklch(93.5% 0.026 290.7)

  3. Step 200

    200

    #D8D4F7

    oklch(88.4% 0.048 290.6)

  4. Step 300

    300

    #BFB8F4

    oklch(80.9% 0.084 289.7)

  5. Step 400

    400

    #A090EF

    oklch(70.6% 0.137 290.2)

  6. Step 500

    500

    #8B72EA

    oklch(63.2% 0.174 290.1)

  7. Step 600

    600

    #7656D8

    oklch(55.5% 0.19 290.1)

  8. Step 700

    700

    #6446BB

    oklch(49.2% 0.175 290.3)

  9. Step 800

    800

    #513A97

    oklch(42.7% 0.145 290.2)

  10. Step 900

    900

    #433379

    oklch(37.8% 0.115 290.4)

  11. Step 950

    950 (this color)

    #1D143B

    oklch(22.8% 0.072 290.1)

Export this scale for Tailwind in the Tailwind colors tool

#1D143B 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)#011B3C0.043
Deuteranopia (no green cones)#021A3A0.042
Tritanopia (no blue cones)#141D250.059
Achromatopsia (no color)#1B1B1B0.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #1D143B

    #1D143B

    oklch(22.8% 0.072 290.1)

  • #1E1E00

    #1E1E00

    oklch(22.8% 0.05 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1D143B

    #1D143B

    oklch(22.8% 0.072 290.1)

  • #061B3D

    #061B3D

    oklch(22.8% 0.071 259.4)

  • #2B0E31

    #2B0E31

    oklch(22.8% 0.073 320.5)

Open the analogous palette in the generator

Split complementary

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

  • #1D143B

    #1D143B

    oklch(22.8% 0.072 290.1)

  • #281900

    #281900

    oklch(22.7% 0.047 78.6)

  • #052401

    #052401

    oklch(22.8% 0.072 140.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1D143B

    #1D143B

    oklch(22.8% 0.072 290.1)

  • #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.

  • #1D143B

    #1D143B

    oklch(22.8% 0.072 290.1)

  • #37090D

    #37090D

    oklch(22.7% 0.072 20.4)

  • #1E1E00

    #1E1E00

    oklch(22.8% 0.05 109.8)

  • #002223

    #002223

    oklch(22.9% 0.039 197.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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