#120A29

Closest named color: Midnight (#03012D). oklch(17.8% 0.06 290.8), rgb(18, 10, 41).

Aa

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

About this color

#120A29 is a very dark, muted purple. In OKLCH its lightness is 18%, its chroma 0.060 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.052 away. White text reads best on it, at 19.07:1.

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

Values

HEX#120A29
RGBrgb(18, 10, 41)
HSLhsl(255, 61%, 10%)
OKLCHoklch(17.8% 0.06 290.8)

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 #120A29 19.07:1 AAA Lc -107.4 Preferred for body text
Black text on #120A29 1.10:1 Fails Lc 0.0 Not readable
#120A29 text on white 19.07:1 AAA Lc 105.3 Preferred for body text
#120A29 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

    #E9E8F7

    oklch(93.6% 0.02 289.1)

  3. Step 200

    200

    #D8D5F2

    oklch(88.4% 0.04 290.3)

  4. Step 300

    300

    #C0B9EC

    oklch(80.9% 0.072 291)

  5. Step 400

    400

    #A193E3

    oklch(70.7% 0.116 291.2)

  6. Step 500

    500

    #8B77DA

    oklch(63.1% 0.146 290.9)

  7. Step 600

    600

    #765DC8

    oklch(55.6% 0.16 291.1)

  8. Step 700

    700

    #634CAD

    oklch(49.1% 0.149 290.8)

  9. Step 800

    800

    #513F8C

    oklch(42.7% 0.123 291.1)

  10. Step 900

    900

    #433670

    oklch(37.7% 0.096 291.4)

  11. Step 950

    950 (this color)

    #120A29

    oklch(17.8% 0.06 290.8)

Export this scale for Tailwind in the Tailwind colors tool

#120A29 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)#00102A0.036
Deuteranopia (no green cones)#000F280.036
Tritanopia (no blue cones)#0B11180.048
Achromatopsia (no color)#1010100.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #120A29

    #120A29

    oklch(17.8% 0.06 290.8)

  • #121200

    #121200

    oklch(17.6% 0.038 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #120A29

    #120A29

    oklch(17.8% 0.06 290.8)

  • #030F2B

    #030F2B

    oklch(17.7% 0.06 261.8)

  • #1C0621

    #1C0621

    oklch(17.7% 0.06 320)

Open the analogous palette in the generator

Split complementary

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

  • #120A29

    #120A29

    oklch(17.8% 0.06 290.8)

  • #190F00

    #190F00

    oklch(17.7% 0.037 81.6)

  • #021700

    #021700

    oklch(17.9% 0.058 140.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #120A29

    #120A29

    oklch(17.8% 0.06 290.8)

  • #200A00

    #200A00

    oklch(17.8% 0.045 52.3)

  • #00160F

    #00160F

    oklch(17.8% 0.035 170.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #120A29

    #120A29

    oklch(17.8% 0.06 290.8)

  • #260306

    #260306

    oklch(17.7% 0.061 19.5)

  • #121200

    #121200

    oklch(17.6% 0.038 109.8)

  • #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 #120A29, closest first.

Similar named colors

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

Use #120A29 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.