#12081C

Closest named color: Almost Black (#070D0D). oklch(16.1% 0.043 305.4), rgb(18, 8, 28).

Aa

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

About this color

#12081C is a very dark, muted purple. In OKLCH its lightness is 16%, its chroma 0.043 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Almost Black (#070D0D), ΔE 0.048 away. White text reads best on it, at 19.49:1.

Hue familyPurples
Lightnessvery dark (16%)
Chromamuted (0.043)
Temperaturein between
Nearest nameAlmost Black (#070D0D)
Black text1.07:1
White text19.49:1

Values

HEX#12081C
RGBrgb(18, 8, 28)
HSLhsl(270, 56%, 7%)
OKLCHoklch(16.1% 0.043 305.4)

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 #12081C 19.49:1 AAA Lc -107.6 Preferred for body text
Black text on #12081C 1.07:1 Fails Lc 0.0 Not readable
#12081C text on white 19.49:1 AAA Lc 105.6 Preferred for body text
#12081C text on black 1.07: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

    #ECE8F2

    oklch(93.7% 0.014 304.1)

  3. Step 200

    200

    #DDD5E8

    oklch(88.5% 0.027 304.8)

  4. Step 300

    300

    #C8B9DB

    oklch(80.9% 0.05 305.3)

  5. Step 400

    400

    #AC94C9

    oklch(70.7% 0.08 305.1)

  6. Step 500

    500

    #9879BC

    oklch(63.1% 0.104 304.9)

  7. Step 600

    600

    #8361A8

    oklch(55.7% 0.113 305.1)

  8. Step 700

    700

    #6F5090

    oklch(49.2% 0.104 305.2)

  9. Step 800

    800

    #5A4275

    oklch(42.8% 0.086 304.7)

  10. Step 900

    900

    #4A385E

    oklch(37.7% 0.067 305.2)

  11. Step 950

    950 (this color)

    #12081C

    oklch(16.1% 0.043 305.4)

Export this scale for Tailwind in the Tailwind colors tool

#12081C 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)#040C1D0.032
Deuteranopia (no green cones)#050D1C0.031
Tritanopia (no blue cones)#100B100.031
Achromatopsia (no color)#0D0D0D0.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #12081C

    #12081C

    oklch(16.1% 0.043 305.4)

  • #091000

    #091000

    oklch(16% 0.04 125.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12081C

    #12081C

    oklch(16.1% 0.043 305.4)

  • #090B20

    #090B20

    oklch(16.2% 0.044 276.2)

  • #180615

    #180615

    oklch(16.1% 0.043 333.9)

Open the analogous palette in the generator

Split complementary

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

  • #12081C

    #12081C

    oklch(16.1% 0.043 305.4)

  • #120D00

    #120D00

    oklch(16.1% 0.033 94.5)

  • #001206

    #001206

    oklch(16% 0.039 155.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12081C

    #12081C

    oklch(16.1% 0.043 305.4)

  • #180A00

    #180A00

    oklch(16.2% 0.036 66)

  • #00110F

    #00110F

    oklch(16% 0.028 186.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12081C

    #12081C

    oklch(16.1% 0.043 305.4)

  • #1C0602

    #1C0602

    oklch(16.1% 0.042 37.7)

  • #091000

    #091000

    oklch(16% 0.04 125.7)

  • #001115

    #001115

    oklch(16.3% 0.028 212.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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