#20031A

Closest named color: Very Dark Purple (#2A0134). oklch(17.3% 0.064 336.9), rgb(32, 3, 26).

Aa

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

About this color

#20031A is a very dark, muted purple. In OKLCH its lightness is 17%, its chroma 0.064 and its hue 337°. Its hue sits on the warm side of the wheel. The nearest named color is Very Dark Purple (#2A0134), ΔE 0.057 away. White text reads best on it, at 19.27:1.

Hue familyPurples
Lightnessvery dark (17%)
Chromamuted (0.064)
Temperaturewarm
Nearest nameVery Dark Purple (#2A0134)
Black text1.08:1
White text19.27:1

Values

HEX#20031A
RGBrgb(32, 3, 26)
HSLhsl(312, 83%, 7%)
OKLCHoklch(17.3% 0.064 336.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 #20031A 19.27:1 AAA Lc -107.3 Preferred for body text
Black text on #20031A 1.08:1 Fails Lc 0.0 Not readable
#20031A text on white 19.27:1 AAA Lc 105.2 Preferred for body text
#20031A text on black 1.08: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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F4E5EF

    oklch(93.7% 0.021 337.7)

  3. Step 200

    200

    #ECCFE3

    oklch(88.5% 0.042 337.2)

  4. Step 300

    300

    #E1AED3

    oklch(80.8% 0.077 336.4)

  5. Step 400

    400

    #D082BC

    oklch(70.6% 0.121 336.8)

  6. Step 500

    500

    #C260AB

    oklch(63.1% 0.155 337)

  7. Step 600

    600

    #AD4497

    oklch(55.6% 0.168 336.6)

  8. Step 700

    700

    #943580

    oklch(49.1% 0.155 336.9)

  9. Step 800

    800

    #792D68

    oklch(42.8% 0.129 337.3)

  10. Step 900

    900

    #622955

    oklch(37.8% 0.101 337)

  11. Step 950

    950 (this color)

    #20031A

    oklch(17.3% 0.064 336.9)

Export this scale for Tailwind in the Tailwind colors tool

#20031A 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)#030B1B0.071
Deuteranopia (no green cones)#0C10190.060
Tritanopia (no blue cones)#22040C0.032
Achromatopsia (no color)#0E0E0E0.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #20031A

    #20031A

    oklch(17.3% 0.064 336.9)

  • #001508

    #001508

    oklch(17.2% 0.042 156.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #20031A

    #20031A

    oklch(17.3% 0.064 336.9)

  • #170625

    #170625

    oklch(17.2% 0.063 306.4)

  • #25010B

    #25010B

    oklch(17.2% 0.065 6.8)

Open the analogous palette in the generator

Split complementary

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

  • #20031A

    #20031A

    oklch(17.3% 0.064 336.9)

  • #0B1300

    #0B1300

    oklch(17.2% 0.044 126.1)

  • #001412

    #001412

    oklch(17.2% 0.03 186.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #20031A

    #20031A

    oklch(17.3% 0.064 336.9)

  • #151000

    #151000

    oklch(17.4% 0.036 96)

  • #001319

    #001319

    oklch(17.2% 0.031 218.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #20031A

    #20031A

    oklch(17.3% 0.064 336.9)

  • #1B0C00

    #1B0C00

    oklch(17.3% 0.038 66.4)

  • #001508

    #001508

    oklch(17.2% 0.042 156.2)

  • #001123

    #001123

    oklch(17.3% 0.046 247.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #20031A 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.