#12092C

Closest named color: Midnight (#03012D). oklch(17.9% 0.067 289.7), rgb(18, 9, 44).

Aa

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

About this color

#12092C is a very dark, muted purple. In OKLCH its lightness is 18%, its chroma 0.067 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.049 away. White text reads best on it, at 19.07:1.

Hue familyPurples
Lightnessvery dark (18%)
Chromamuted (0.067)
Temperaturecool
Nearest nameMidnight (#03012D)
Black text1.10:1
White text19.07:1

Values

HEX#12092C
RGBrgb(18, 9, 44)
HSLhsl(255, 66%, 10%)
OKLCHoklch(17.9% 0.067 289.7)

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 #12092C 19.07:1 AAA Lc -107.3 Preferred for body text
Black text on #12092C 1.10:1 Fails Lc 0.0 Not readable
#12092C text on white 19.07:1 AAA Lc 105.3 Preferred for body text
#12092C text on black 1.10: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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F9

    oklch(93.7% 0.023 288.7)

  3. Step 200

    200

    #D8D5F5

    oklch(88.5% 0.044 289.8)

  4. Step 300

    300

    #BFB9F1

    oklch(81% 0.079 289.4)

  5. Step 400

    400

    #9F92EA

    oklch(70.7% 0.127 289.5)

  6. Step 500

    500

    #8A74E4

    oklch(63.1% 0.163 289.9)

  7. Step 600

    600

    #755AD1

    oklch(55.6% 0.176 289.9)

  8. Step 700

    700

    #6249B5

    oklch(49% 0.164 289.6)

  9. Step 800

    800

    #503D93

    oklch(42.8% 0.136 289.6)

  10. Step 900

    900

    #423575

    oklch(37.7% 0.106 289.7)

  11. Step 950

    950 (this color)

    #12092C

    oklch(17.9% 0.067 289.7)

Export this scale for Tailwind in the Tailwind colors tool

#12092C 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)#00102D0.037
Deuteranopia (no green cones)#000F2B0.037
Tritanopia (no blue cones)#0911190.053
Achromatopsia (no color)#1010100.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #12092C

    #12092C

    oklch(17.9% 0.067 289.7)

  • #131200

    #131200

    oklch(17.8% 0.038 107.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12092C

    #12092C

    oklch(17.9% 0.067 289.7)

  • #010F2E

    #010F2E

    oklch(17.9% 0.067 260)

  • #1D0523

    #1D0523

    oklch(17.8% 0.066 319.2)

Open the analogous palette in the generator

Split complementary

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

  • #12092C

    #12092C

    oklch(17.9% 0.067 289.7)

  • #1A0F00

    #1A0F00

    oklch(17.9% 0.037 79)

  • #031700

    #031700

    oklch(18% 0.057 139.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12092C

    #12092C

    oklch(17.9% 0.067 289.7)

  • #210900

    #210900

    oklch(17.8% 0.048 48.8)

  • #00160F

    #00160F

    oklch(17.8% 0.035 170.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12092C

    #12092C

    oklch(17.9% 0.067 289.7)

  • #280105

    #280105

    oklch(17.8% 0.068 19.4)

  • #131200

    #131200

    oklch(17.8% 0.038 107.3)

  • #001516

    #001516

    oklch(17.8% 0.03 198.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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