#20162E

Closest named color: Rich Black (#0D1B2A). oklch(22.6% 0.047 302), rgb(32, 22, 46).

Aa

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

About this color

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

Hue familyPurples
Lightnessvery dark (23%)
Chromamuted (0.047)
Temperaturein between
Nearest nameRich Black (#0D1B2A)
Black text1.21:1
White text17.27:1

Values

HEX#20162E
RGBrgb(32, 22, 46)
HSLhsl(265, 35%, 13%)
OKLCHoklch(22.6% 0.047 302)

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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #ECE7F3

    oklch(93.5% 0.017 304.8)

  3. Step 200

    200

    #DDD5EB

    oklch(88.6% 0.031 302.3)

  4. Step 300

    300

    #C7B9DF

    oklch(81% 0.055 302)

  5. Step 400

    400

    #AB93CF

    oklch(70.6% 0.09 302.5)

  6. Step 500

    500

    #9678C3

    oklch(63.1% 0.114 301.6)

  7. Step 600

    600

    #8160AF

    oklch(55.6% 0.123 301.8)

  8. Step 700

    700

    #6D4F96

    oklch(49.1% 0.114 301.9)

  9. Step 800

    800

    #59417A

    oklch(42.8% 0.095 302)

  10. Step 900

    900

    #493762

    oklch(37.6% 0.074 302.3)

  11. Step 950

    950 (this color)

    #20162E

    oklch(22.6% 0.047 302)

Export this scale for Tailwind in the Tailwind colors tool

#20162E 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)#101B2F0.031
Deuteranopia (no green cones)#121B2D0.029
Tritanopia (no blue cones)#1E1A1F0.036
Achromatopsia (no color)#1B1B1B0.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #20162E

    #20162E

    oklch(22.6% 0.047 302)

  • #181F04

    #181F04

    oklch(22.5% 0.047 122.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #20162E

    #20162E

    oklch(22.6% 0.047 302)

  • #141A32

    #141A32

    oklch(22.6% 0.048 271.5)

  • #281326

    #281326

    oklch(22.5% 0.047 330.5)

Open the analogous palette in the generator

Split complementary

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

  • #20162E

    #20162E

    oklch(22.6% 0.047 302)

  • #241B00

    #241B00

    oklch(22.7% 0.046 91.6)

  • #072210

    #072210

    oklch(22.5% 0.048 151.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #20162E

    #20162E

    oklch(22.6% 0.047 302)

  • #2B1603

    #2B1603

    oklch(22.5% 0.046 61.3)

  • #00221D

    #00221D

    oklch(22.6% 0.041 181)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #20162E

    #20162E

    oklch(22.6% 0.047 302)

  • #2E130D

    #2E130D

    oklch(22.6% 0.046 33.7)

  • #181F04

    #181F04

    oklch(22.5% 0.047 122.2)

  • #002126

    #002126

    oklch(22.7% 0.039 209.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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