#120117

Closest named color: Midnight (#03012D). oklch(13.6% 0.059 319.4), rgb(18, 1, 23).

Aa

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

About this color

#120117 is a very dark, muted purple. In OKLCH its lightness is 14%, its chroma 0.059 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.066 away. White text reads best on it, at 20.14:1.

Hue familyPurples
Lightnessvery dark (14%)
Chromamuted (0.059)
Temperaturein between
Nearest nameMidnight (#03012D)
Black text1.04:1
White text20.14:1

Values

HEX#120117
RGBrgb(18, 1, 23)
HSLhsl(286, 92%, 5%)
OKLCHoklch(13.6% 0.059 319.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 #120117 20.14:1 AAA Lc -107.7 Preferred for body text
Black text on #120117 1.04:1 Fails Lc 0.0 Not readable
#120117 text on white 20.14:1 AAA Lc 105.8 Preferred for body text
#120117 text on black 1.04: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

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #F0E6F3

    oklch(93.7% 0.02 318.4)

  3. Step 200

    200

    #E5D1EA

    oklch(88.5% 0.04 319.5)

  4. Step 300

    300

    #D5B3DD

    oklch(81% 0.069 319.8)

  5. Step 400

    400

    #BF89CC

    oklch(70.6% 0.112 319.7)

  6. Step 500

    500

    #AE6ABF

    oklch(63% 0.143 319.4)

  7. Step 600

    600

    #9950AB

    oklch(55.5% 0.155 319.4)

  8. Step 700

    700

    #834093

    oklch(49.1% 0.144 319.6)

  9. Step 800

    800

    #6A3577

    oklch(42.6% 0.12 319.4)

  10. Step 900

    900

    #562F60

    oklch(37.6% 0.093 319.2)

  11. Step 950

    950 (this color)

    #120117

    oklch(13.6% 0.059 319.4)

Export this scale for Tailwind in the Tailwind colors tool

#120117 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)#0006180.056
Deuteranopia (no green cones)#0208160.052
Tritanopia (no blue cones)#1204090.039
Achromatopsia (no color)#0707070.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #120117

    #120117

    oklch(13.6% 0.059 319.4)

  • #010C00

    #010C00

    oklch(13.5% 0.044 140)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #120117

    #120117

    oklch(13.6% 0.059 319.4)

  • #09031E

    #09031E

    oklch(13.6% 0.059 289.3)

  • #17000C

    #17000C

    oklch(13.5% 0.057 348.2)

Open the analogous palette in the generator

Split complementary

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

  • #120117

    #120117

    oklch(13.6% 0.059 319.4)

  • #090900

    #090900

    oklch(13.5% 0.029 109.8)

  • #000C07

    #000C07

    oklch(13.7% 0.027 169.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #120117

    #120117

    oklch(13.6% 0.059 319.4)

  • #0E0700

    #0E0700

    oklch(13.6% 0.028 80.9)

  • #000B0C

    #000B0C

    oklch(13.6% 0.023 200.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #120117

    #120117

    oklch(13.6% 0.059 319.4)

  • #140400

    #140400

    oklch(13.7% 0.037 48.1)

  • #010C00

    #010C00

    oklch(13.5% 0.044 140)

  • #000A11

    #000A11

    oklch(13.6% 0.027 229.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #120117 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.