#20031C

Closest named color: Very Dark Purple (#2A0134). oklch(17.5% 0.066 333.8), rgb(32, 3, 28).

Aa

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

About this color

#20031C is a very dark, muted purple. In OKLCH its lightness is 17%, its chroma 0.066 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Purple (#2A0134), ΔE 0.053 away. White text reads best on it, at 19.24:1.

Hue familyPurples
Lightnessvery dark (17%)
Chromamuted (0.066)
Temperaturein between
Nearest nameVery Dark Purple (#2A0134)
Black text1.09:1
White text19.24:1

Values

HEX#20031C
RGBrgb(32, 3, 28)
HSLhsl(308, 83%, 7%)
OKLCHoklch(17.5% 0.066 333.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 #20031C 19.24:1 AAA Lc -107.3 Preferred for body text
Black text on #20031C 1.09:1 Fails Lc 0.0 Not readable
#20031C text on white 19.24:1 AAA Lc 105.2 Preferred for body text
#20031C text on black 1.09: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

    #F4E5F0

    oklch(93.7% 0.022 334.9)

  3. Step 200

    200

    #ECCFE5

    oklch(88.5% 0.043 334.3)

  4. Step 300

    300

    #E0AED6

    oklch(80.8% 0.078 333.4)

  5. Step 400

    400

    #CF82C1

    oklch(70.7% 0.124 333.7)

  6. Step 500

    500

    #C160B1

    oklch(63.2% 0.159 333.9)

  7. Step 600

    600

    #AC439D

    oklch(55.6% 0.173 333.6)

  8. Step 700

    700

    #933486

    oklch(49.1% 0.161 333.5)

  9. Step 800

    800

    #782C6D

    oklch(42.8% 0.134 333.7)

  10. Step 900

    900

    #612958

    oklch(37.8% 0.103 334)

  11. Step 950

    950 (this color)

    #20031C

    oklch(17.5% 0.066 333.8)

Export this scale for Tailwind in the Tailwind colors tool

#20031C 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)#030C1D0.071
Deuteranopia (no green cones)#0B101B0.061
Tritanopia (no blue cones)#22050E0.033
Achromatopsia (no color)#0E0E0E0.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #20031C

    #20031C

    oklch(17.5% 0.066 333.8)

  • #001607

    #001607

    oklch(17.6% 0.045 153.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #20031C

    #20031C

    oklch(17.5% 0.066 333.8)

  • #170627

    #170627

    oklch(17.4% 0.066 304.3)

  • #25010D

    #25010D

    oklch(17.3% 0.066 3.4)

Open the analogous palette in the generator

Split complementary

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

  • #20031C

    #20031C

    oklch(17.5% 0.066 333.8)

  • #0D1300

    #0D1300

    oklch(17.4% 0.043 122.6)

  • #001512

    #001512

    oklch(17.6% 0.031 183.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #20031C

    #20031C

    oklch(17.5% 0.066 333.8)

  • #161000

    #161000

    oklch(17.6% 0.036 93.2)

  • #001418

    #001418

    oklch(17.5% 0.03 210.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #20031C

    #20031C

    oklch(17.5% 0.066 333.8)

  • #1C0C00

    #1C0C00

    oklch(17.5% 0.039 64.3)

  • #001607

    #001607

    oklch(17.6% 0.045 153.4)

  • #001222

    #001222

    oklch(17.6% 0.043 244)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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