#1F0E2D

Closest named color: Midnight Purple (#280137). oklch(20.7% 0.062 307.1), rgb(31, 14, 45).

Aa

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

About this color

#1F0E2D is a very dark, muted purple. In OKLCH its lightness is 21%, its chroma 0.062 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight Purple (#280137), ΔE 0.040 away. White text reads best on it, at 18.11:1.

Hue familyPurples
Lightnessvery dark (21%)
Chromamuted (0.062)
Temperaturein between
Nearest nameMidnight Purple (#280137)
Black text1.15:1
White text18.11:1

Values

HEX#1F0E2D
RGBrgb(31, 14, 45)
HSLhsl(273, 53%, 12%)
OKLCHoklch(20.7% 0.062 307.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 #1F0E2D 18.11:1 AAA Lc -106.9 Preferred for body text
Black text on #1F0E2D 1.15:1 Fails Lc 0.0 Not readable
#1F0E2D text on white 18.11:1 AAA Lc 104.7 Preferred for body text
#1F0E2D text on black 1.15: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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EDE6F5

    oklch(93.5% 0.021 306.8)

  3. Step 200

    200

    #E0D3EF

    oklch(88.6% 0.04 306.5)

  4. Step 300

    300

    #CDB5E6

    oklch(81% 0.073 307)

  5. Step 400

    400

    #B48CD9

    oklch(70.6% 0.117 307.5)

  6. Step 500

    500

    #A16ECF

    oklch(63.1% 0.149 306.9)

  7. Step 600

    600

    #8D54BC

    oklch(55.7% 0.162 307.2)

  8. Step 700

    700

    #7843A2

    oklch(49.1% 0.152 307.5)

  9. Step 800

    800

    #613883

    oklch(42.6% 0.125 307.1)

  10. Step 900

    900

    #4F3169

    oklch(37.6% 0.097 307.1)

  11. Step 950

    950 (this color)

    #1F0E2D

    oklch(20.7% 0.062 307.1)

Export this scale for Tailwind in the Tailwind colors tool

#1F0E2D 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)#04152E0.051
Deuteranopia (no green cones)#09162C0.046
Tritanopia (no blue cones)#1D141B0.045
Achromatopsia (no color)#1616160.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F0E2D

    #1F0E2D

    oklch(20.7% 0.062 307.1)

  • #111C00

    #111C00

    oklch(20.8% 0.054 127.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F0E2D

    #1F0E2D

    oklch(20.7% 0.062 307.1)

  • #111333

    #111333

    oklch(20.6% 0.062 276.8)

  • #280A21

    #280A21

    oklch(20.6% 0.061 337.7)

Open the analogous palette in the generator

Split complementary

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

  • #1F0E2D

    #1F0E2D

    oklch(20.7% 0.062 307.1)

  • #1D1700

    #1D1700

    oklch(20.6% 0.042 96.4)

  • #001E0E

    #001E0E

    oklch(20.7% 0.049 156.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F0E2D

    #1F0E2D

    oklch(20.7% 0.062 307.1)

  • #251300

    #251300

    oklch(20.7% 0.045 68.1)

  • #001D1A

    #001D1A

    oklch(20.8% 0.037 185.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F0E2D

    #1F0E2D

    oklch(20.7% 0.062 307.1)

  • #2E0A02

    #2E0A02

    oklch(20.7% 0.062 37.3)

  • #111C00

    #111C00

    oklch(20.8% 0.054 127.2)

  • #001B22

    #001B22

    oklch(20.5% 0.037 217.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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