#20162D

Closest named color: Rich Black (#0D1B2A). oklch(22.5% 0.045 303), rgb(32, 22, 45).

Aa

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

About this color

#20162D is a very dark, muted purple. In OKLCH its lightness is 22%, its chroma 0.045 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.037 away. White text reads best on it, at 17.29:1.

Hue familyPurples
Lightnessvery dark (22%)
Chromamuted (0.045)
Temperaturein between
Nearest nameRich Black (#0D1B2A)
Black text1.21:1
White text17.29:1

Values

HEX#20162D
RGBrgb(32, 22, 45)
HSLhsl(266, 34%, 13%)
OKLCHoklch(22.5% 0.045 303)

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 #20162D 17.29:1 AAA Lc -106.4 Preferred for body text
Black text on #20162D 1.21:1 Fails Lc 0.0 Not readable
#20162D text on white 17.29:1 AAA Lc 104.1 Preferred for body text
#20162D text on black 1.21: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

    #F6F4F9

    oklch(97% 0.007 304.2)

  2. Step 100

    100

    #ECE8F3

    oklch(93.7% 0.015 302.5)

  3. Step 200

    200

    #DDD5EA

    oklch(88.6% 0.03 303)

  4. Step 300

    300

    #C7B9DE

    oklch(80.9% 0.054 302.4)

  5. Step 400

    400

    #AB94CD

    oklch(70.7% 0.085 302.8)

  6. Step 500

    500

    #9778C0

    oklch(63% 0.11 303.2)

  7. Step 600

    600

    #8260AC

    oklch(55.6% 0.119 303.4)

  8. Step 700

    700

    #6E4F94

    oklch(49.1% 0.111 303.3)

  9. Step 800

    800

    #594178

    oklch(42.6% 0.092 302.8)

  10. Step 900

    900

    #493861

    oklch(37.8% 0.071 302.2)

  11. Step 950

    950 (this color)

    #20162D

    oklch(22.5% 0.045 303)

Export this scale for Tailwind in the Tailwind colors tool

#20162D 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)#101A2E0.030
Deuteranopia (no green cones)#121B2C0.030
Tritanopia (no blue cones)#1E1A1F0.035
Achromatopsia (no color)#1B1B1B0.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #20162D

    #20162D

    oklch(22.5% 0.045 303)

  • #181F05

    #181F05

    oklch(22.5% 0.045 122.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #20162D

    #20162D

    oklch(22.5% 0.045 303)

  • #151A31

    #151A31

    oklch(22.6% 0.045 273)

  • #281325

    #281325

    oklch(22.5% 0.046 332.4)

Open the analogous palette in the generator

Split complementary

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

  • #20162D

    #20162D

    oklch(22.5% 0.045 303)

  • #231B00

    #231B00

    oklch(22.5% 0.046 93.6)

  • #082211

    #082211

    oklch(22.6% 0.046 152.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #20162D

    #20162D

    oklch(22.5% 0.045 303)

  • #2A1603

    #2A1603

    oklch(22.3% 0.045 62.8)

  • #00221D

    #00221D

    oklch(22.6% 0.041 181)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #20162D

    #20162D

    oklch(22.5% 0.045 303)

  • #2E130D

    #2E130D

    oklch(22.6% 0.046 33.7)

  • #181F05

    #181F05

    oklch(22.5% 0.045 122.5)

  • #002027

    #002027

    oklch(22.4% 0.04 215)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #20162D 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.