#1E072B

Closest named color: Midnight Purple (#280137). oklch(19.1% 0.072 310.8), rgb(30, 7, 43).

Aa

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

About this color

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

Hue familyPurples
Lightnessvery dark (19%)
Chromamoderately saturated (0.072)
Temperaturein between
Nearest nameMidnight Purple (#280137)
Black text1.12:1
White text18.74:1

Values

HEX#1E072B
RGBrgb(30, 7, 43)
HSLhsl(278, 72%, 10%)
OKLCHoklch(19.1% 0.072 310.8)

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 #1E072B 18.74:1 AAA Lc -107.1 Preferred for body text
Black text on #1E072B 1.12:1 Fails Lc 0.0 Not readable
#1E072B text on white 18.74:1 AAA Lc 105.0 Preferred for body text
#1E072B text on black 1.12: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

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #EFE6F6

    oklch(93.7% 0.023 310.7)

  3. Step 200

    200

    #E3D1F1

    oklch(88.5% 0.047 310.5)

  4. Step 300

    300

    #D2B1EA

    oklch(80.8% 0.086 310.7)

  5. Step 400

    400

    #BC87DF

    oklch(70.8% 0.136 311)

  6. Step 500

    500

    #AB65D6

    oklch(63.1% 0.175 311)

  7. Step 600

    600

    #9649C3

    oklch(55.6% 0.189 310.8)

  8. Step 700

    700

    #8039A8

    oklch(49.1% 0.176 311)

  9. Step 800

    800

    #683088

    oklch(42.6% 0.146 311)

  10. Step 900

    900

    #542C6D

    oklch(37.6% 0.113 310.5)

  11. Step 950

    950 (this color)

    #1E072B

    oklch(19.1% 0.072 310.8)

Export this scale for Tailwind in the Tailwind colors tool

#1E072B 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)#00112C0.063
Deuteranopia (no green cones)#04122A0.058
Tritanopia (no blue cones)#1C0E180.047
Achromatopsia (no color)#1212120.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #1E072B

    #1E072B

    oklch(19.1% 0.072 310.8)

  • #0B1800

    #0B1800

    oklch(19% 0.052 131)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1E072B

    #1E072B

    oklch(19.1% 0.072 310.8)

  • #100D33

    #100D33

    oklch(19.2% 0.072 280.7)

  • #27031D

    #27031D

    oklch(19% 0.072 341)

Open the analogous palette in the generator

Split complementary

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

  • #1E072B

    #1E072B

    oklch(19.1% 0.072 310.8)

  • #181400

    #181400

    oklch(19% 0.04 100.1)

  • #001A0D

    #001A0D

    oklch(19.2% 0.044 159.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1E072B

    #1E072B

    oklch(19.1% 0.072 310.8)

  • #1F1000

    #1F1000

    oklch(19% 0.041 70.9)

  • #001917

    #001917

    oklch(19.2% 0.033 187.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1E072B

    #1E072B

    oklch(19.1% 0.072 310.8)

  • #280800

    #280800

    oklch(19% 0.058 41.4)

  • #0B1800

    #0B1800

    oklch(19% 0.052 131)

  • #00171F

    #00171F

    oklch(19% 0.035 222.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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