#201F31

Closest named color: Dark (#1B2431). oklch(24.9% 0.034 286.2), rgb(32, 31, 49).

Aa

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

About this color

#201F31 is a very dark, muted purple. In OKLCH its lightness is 25%, its chroma 0.034 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Dark (#1B2431), ΔE 0.018 away. White text reads best on it, at 16.13:1.

Hue familyPurples
Lightnessvery dark (25%)
Chromamuted (0.034)
Temperaturecool
Nearest nameDark (#1B2431)
Black text1.30:1
White text16.13:1

Values

HEX#201F31
RGBrgb(32, 31, 49)
HSLhsl(243, 23%, 16%)
OKLCHoklch(24.9% 0.034 286.2)

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 #201F31 16.13:1 AAA Lc -105.6 Preferred for body text
Black text on #201F31 1.30:1 Fails Lc 0.0 Not readable
#201F31 text on white 16.13:1 AAA Lc 103.1 Preferred for body text
#201F31 text on black 1.30: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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E9E9F1

    oklch(93.6% 0.011 286.2)

  3. Step 200

    200

    #D7D7E8

    oklch(88.4% 0.023 285.9)

  4. Step 300

    300

    #BEBDDA

    oklch(80.8% 0.041 287)

  5. Step 400

    400

    #9D9BC7

    oklch(70.7% 0.064 286.7)

  6. Step 500

    500

    #8582B9

    oklch(63.1% 0.082 286.3)

  7. Step 600

    600

    #6F6BA5

    oklch(55.6% 0.089 286.3)

  8. Step 700

    700

    #5D598E

    oklch(49.1% 0.084 286.3)

  9. Step 800

    800

    #4C4973

    oklch(42.7% 0.069 286.4)

  10. Step 900

    900

    #3F3D5D

    oklch(37.6% 0.054 286.3)

  11. Step 950

    950 (this color)

    #201F31

    oklch(24.9% 0.034 286.2)

Export this scale for Tailwind in the Tailwind colors tool

#201F31 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)#1A21320.011
Deuteranopia (no green cones)#1A20310.011
Tritanopia (no blue cones)#1C22250.030
Achromatopsia (no color)#2121210.034

Harmonies

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

Complementary

The opposite hue (180°).

  • #201F31

    #201F31

    oklch(24.9% 0.034 286.2)

  • #23220E

    #23220E

    oklch(24.7% 0.034 106.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #201F31

    #201F31

    oklch(24.9% 0.034 286.2)

  • #172232

    #172232

    oklch(25% 0.034 257.7)

  • #281C2C

    #281C2C

    oklch(24.8% 0.034 317.5)

Open the analogous palette in the generator

Split complementary

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

  • #201F31

    #201F31

    oklch(24.9% 0.034 286.2)

  • #2B1F0E

    #2B1F0E

    oklch(24.9% 0.034 74.8)

  • #1A2515

    #1A2515

    oklch(24.9% 0.033 136.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #201F31

    #201F31

    oklch(24.9% 0.034 286.2)

  • #2F1C13

    #2F1C13

    oklch(24.9% 0.034 46)

  • #10271E

    #10271E

    oklch(25.1% 0.034 166.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #201F31

    #201F31

    oklch(24.9% 0.034 286.2)

  • #301B1C

    #301B1C

    oklch(25% 0.033 16.6)

  • #23220E

    #23220E

    oklch(24.7% 0.034 106.1)

  • #0A2627

    #0A2627

    oklch(24.8% 0.033 198.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #201F31 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.