#1D0E39

Closest named color: Midnight Purple (#280137). oklch(21.4% 0.079 294.9), rgb(29, 14, 57).

Aa

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

About this color

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

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

Values

HEX#1D0E39
RGBrgb(29, 14, 57)
HSLhsl(261, 61%, 14%)
OKLCHoklch(21.4% 0.079 294.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 #1D0E39 17.88:1 AAA Lc -106.7 Preferred for body text
Black text on #1D0E39 1.17:1 Fails Lc 0.0 Not readable
#1D0E39 text on white 17.88:1 AAA Lc 104.4 Preferred for body text
#1D0E39 text on black 1.17: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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE7FB

    oklch(93.7% 0.027 295)

  3. Step 200

    200

    #DBD3F9

    oklch(88.5% 0.052 295)

  4. Step 300

    300

    #C4B5F7

    oklch(80.9% 0.093 294.7)

  5. Step 400

    400

    #A88BF3

    oklch(70.6% 0.15 295.1)

  6. Step 500

    500

    #946AEF

    oklch(63% 0.192 294.8)

  7. Step 600

    600

    #804DDD

    oklch(55.5% 0.208 295)

  8. Step 700

    700

    #6C3DC0

    oklch(49.1% 0.193 294.7)

  9. Step 800

    800

    #58339B

    oklch(42.6% 0.161 295)

  10. Step 900

    900

    #482F7C

    oklch(37.8% 0.125 294.6)

  11. Step 950

    950 (this color)

    #1D0E39

    oklch(21.4% 0.079 294.9)

Export this scale for Tailwind in the Tailwind colors tool

#1D0E39 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)#00183A0.051
Deuteranopia (no green cones)#0017380.051
Tritanopia (no blue cones)#1618210.063
Achromatopsia (no color)#1717170.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #1D0E39

    #1D0E39

    oklch(21.4% 0.079 294.9)

  • #191C00

    #191C00

    oklch(21.6% 0.049 115.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1D0E39

    #1D0E39

    oklch(21.4% 0.079 294.9)

  • #07153D

    #07153D

    oklch(21.4% 0.079 265.2)

  • #2A082D

    #2A082D

    oklch(21.5% 0.079 324.4)

Open the analogous palette in the generator

Split complementary

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

  • #1D0E39

    #1D0E39

    oklch(21.4% 0.079 294.9)

  • #231700

    #231700

    oklch(21.4% 0.044 83.1)

  • #002103

    #002103

    oklch(21.5% 0.068 144.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1D0E39

    #1D0E39

    oklch(21.4% 0.079 294.9)

  • #2B1100

    #2B1100

    oklch(21.3% 0.053 54.8)

  • #001F18

    #001F18

    oklch(21.4% 0.04 175)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1D0E39

    #1D0E39

    oklch(21.4% 0.079 294.9)

  • #360305

    #360305

    oklch(21.5% 0.08 24.8)

  • #191C00

    #191C00

    oklch(21.6% 0.049 115.2)

  • #001E21

    #001E21

    oklch(21.4% 0.037 204.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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