#20152E

Closest named color: Rich Black (#0D1B2A). oklch(22.3% 0.049 302.9), rgb(32, 21, 46).

Aa

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

About this color

#20152E is a very dark, muted purple. In OKLCH its lightness is 22%, its chroma 0.049 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.039 away. White text reads best on it, at 17.38:1.

Hue familyPurples
Lightnessvery dark (22%)
Chromamuted (0.049)
Temperaturein between
Nearest nameRich Black (#0D1B2A)
Black text1.20:1
White text17.38:1

Values

HEX#20152E
RGBrgb(32, 21, 46)
HSLhsl(266, 37%, 13%)
OKLCHoklch(22.3% 0.049 302.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 #20152E 17.38:1 AAA Lc -106.5 Preferred for body text
Black text on #20152E 1.20:1 Fails Lc 0.0 Not readable
#20152E text on white 17.38:1 AAA Lc 104.2 Preferred for body text
#20152E text on black 1.20: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

    #DDD4EB

    oklch(88.4% 0.033 303.4)

  4. Step 300

    300

    #C8B8E0

    oklch(80.9% 0.058 303.3)

  5. Step 400

    400

    #AC92D1

    oklch(70.6% 0.094 303)

  6. Step 500

    500

    #9877C4

    oklch(63.2% 0.118 302.9)

  7. Step 600

    600

    #835EB1

    oklch(55.6% 0.129 303)

  8. Step 700

    700

    #6F4D98

    oklch(49.1% 0.12 303.2)

  9. Step 800

    800

    #5A407B

    oklch(42.7% 0.098 302.8)

  10. Step 900

    900

    #4A3663

    oklch(37.6% 0.078 303.4)

  11. Step 950

    950 (this color)

    #20152E

    oklch(22.3% 0.049 302.9)

Export this scale for Tailwind in the Tailwind colors tool

#20152E 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)#0E1A2F0.034
Deuteranopia (no green cones)#111A2D0.031
Tritanopia (no blue cones)#1E191F0.036
Achromatopsia (no color)#1A1A1A0.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #20152E

    #20152E

    oklch(22.3% 0.049 302.9)

  • #171F03

    #171F03

    oklch(22.4% 0.049 123.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #20152E

    #20152E

    oklch(22.3% 0.049 302.9)

  • #141932

    #141932

    oklch(22.3% 0.049 273.3)

  • #291225

    #291225

    oklch(22.4% 0.049 333.9)

Open the analogous palette in the generator

Split complementary

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

  • #20152E

    #20152E

    oklch(22.3% 0.049 302.9)

  • #231A00

    #231A00

    oklch(22.2% 0.045 91.1)

  • #052210

    #052210

    oklch(22.4% 0.049 153.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #20152E

    #20152E

    oklch(22.3% 0.049 302.9)

  • #2B1501

    #2B1501

    oklch(22.2% 0.049 62)

  • #00211D

    #00211D

    oklch(22.3% 0.04 183.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #20152E

    #20152E

    oklch(22.3% 0.049 302.9)

  • #2E120C

    #2E120C

    oklch(22.3% 0.048 33.4)

  • #171F03

    #171F03

    oklch(22.4% 0.049 123.4)

  • #002026

    #002026

    oklch(22.4% 0.039 212.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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