#12020C

Closest named color: Very Dark Brown (#1D0200). oklch(13.1% 0.042 342), rgb(18, 2, 12).

Aa

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

About this color

#12020C is a very dark, muted purple. In OKLCH its lightness is 13%, its chroma 0.042 and its hue 342°. Its hue sits on the warm side of the wheel. The nearest named color is Very Dark Brown (#1D0200), ΔE 0.048 away. White text reads best on it, at 20.19:1.

Hue familyPurples
Lightnessvery dark (13%)
Chromamuted (0.042)
Temperaturewarm
Nearest nameVery Dark Brown (#1D0200)
Black text1.03:1
White text20.19:1

Values

HEX#12020C
RGBrgb(18, 2, 12)
HSLhsl(323, 80%, 4%)
OKLCHoklch(13.1% 0.042 342)

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 #12020C 20.19:1 AAA Lc -107.7 Preferred for body text
Black text on #12020C 1.03:1 Fails Lc 0.0 Not readable
#12020C text on white 20.19:1 AAA Lc 105.8 Preferred for body text
#12020C text on black 1.03: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

    #F9F4F7

    oklch(97.2% 0.007 340.4)

  2. Step 100

    100

    #F1E6EC

    oklch(93.5% 0.014 343.2)

  3. Step 200

    200

    #E7D2DE

    oklch(88.4% 0.028 342.3)

  4. Step 300

    300

    #D8B4CA

    oklch(80.8% 0.051 341.1)

  5. Step 400

    400

    #C48DAF

    oklch(70.7% 0.08 341.7)

  6. Step 500

    500

    #B4709B

    oklch(63.2% 0.102 342)

  7. Step 600

    600

    #9F5786

    oklch(55.6% 0.112 341.7)

  8. Step 700

    700

    #884771

    oklch(49.2% 0.104 342.2)

  9. Step 800

    800

    #6E3B5C

    oklch(42.7% 0.085 341.9)

  10. Step 900

    900

    #5A334B

    oklch(37.8% 0.066 343.1)

  11. Step 950

    950 (this color)

    #12020C

    oklch(13.1% 0.042 342)

Export this scale for Tailwind in the Tailwind colors tool

#12020C 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)#03050C0.045
Deuteranopia (no green cones)#06080C0.042
Tritanopia (no blue cones)#1402050.019
Achromatopsia (no color)#0707070.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #12020C

    #12020C

    oklch(13.1% 0.042 342)

  • #000B05

    #000B05

    oklch(13.2% 0.029 162.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12020C

    #12020C

    oklch(13.1% 0.042 342)

  • #0D0313

    #0D0313

    oklch(13.1% 0.042 313.2)

  • #150204

    #150204

    oklch(13.4% 0.041 14.3)

Open the analogous palette in the generator

Split complementary

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

  • #12020C

    #12020C

    oklch(13.1% 0.042 342)

  • #030A00

    #030A00

    oklch(13% 0.037 133.2)

  • #000A0A

    #000A0A

    oklch(13.1% 0.022 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12020C

    #12020C

    oklch(13.1% 0.042 342)

  • #0A0800

    #0A0800

    oklch(13.3% 0.028 101.8)

  • #00090E

    #00090E

    oklch(13% 0.024 222.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12020C

    #12020C

    oklch(13.1% 0.042 342)

  • #0E0600

    #0E0600

    oklch(13.2% 0.028 74.5)

  • #000B05

    #000B05

    oklch(13.2% 0.029 162.9)

  • #000817

    #000817

    oklch(13.3% 0.039 251.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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