#1E1542

Closest named color: Dark Indigo (#1F0954). oklch(23.7% 0.081 287.7), rgb(30, 21, 66).

Aa

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

About this color

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

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

Values

HEX#1E1542
RGBrgb(30, 21, 66)
HSLhsl(252, 52%, 17%)
OKLCHoklch(23.7% 0.081 287.7)

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 #1E1542 16.91:1 AAA Lc -106.1 Preferred for body text
Black text on #1E1542 1.24:1 Fails Lc 0.0 Not readable
#1E1542 text on white 16.91:1 AAA Lc 103.6 Preferred for body text
#1E1542 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

    #E8E7FC

    oklch(93.5% 0.028 288)

  3. Step 200

    200

    #D6D4FB

    oklch(88.4% 0.053 287.6)

  4. Step 300

    300

    #BDB7FC

    oklch(80.9% 0.097 288)

  5. Step 400

    400

    #9D8FFA

    oklch(70.8% 0.153 287.8)

  6. Step 500

    500

    #876EF8

    oklch(63.1% 0.198 287.7)

  7. Step 600

    600

    #7351E6

    oklch(55.6% 0.214 287.8)

  8. Step 700

    700

    #6140C8

    oklch(49.1% 0.199 287.9)

  9. Step 800

    800

    #4F36A2

    oklch(42.7% 0.165 287.9)

  10. Step 900

    900

    #413180

    oklch(37.7% 0.128 288)

  11. Step 950

    950 (this color)

    #1E1542

    oklch(23.7% 0.081 287.7)

Export this scale for Tailwind in the Tailwind colors tool

#1E1542 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)#001E430.045
Deuteranopia (no green cones)#001B410.044
Tritanopia (no blue cones)#121F290.066
Achromatopsia (no color)#1D1D1D0.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #1E1542

    #1E1542

    oklch(23.7% 0.081 287.7)

  • #212000

    #212000

    oklch(23.7% 0.051 108)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1E1542

    #1E1542

    oklch(23.7% 0.081 287.7)

  • #021D44

    #021D44

    oklch(23.8% 0.081 257.6)

  • #2E0E37

    #2E0E37

    oklch(23.7% 0.082 318.1)

Open the analogous palette in the generator

Split complementary

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

  • #1E1542

    #1E1542

    oklch(23.7% 0.081 287.7)

  • #2B1B00

    #2B1B00

    oklch(23.7% 0.049 78.2)

  • #0A2600

    #0A2600

    oklch(23.8% 0.073 137.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1E1542

    #1E1542

    oklch(23.7% 0.081 287.7)

  • #361200

    #361200

    oklch(23.6% 0.065 47)

  • #00261A

    #00261A

    oklch(23.8% 0.049 167.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1E1542

    #1E1542

    oklch(23.7% 0.081 287.7)

  • #3D070F

    #3D070F

    oklch(23.8% 0.082 18.2)

  • #212000

    #212000

    oklch(23.7% 0.051 108)

  • #002425

    #002425

    oklch(23.6% 0.04 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 #1E1542, closest first.

Similar named colors

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

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