#121126

Closest named color: Rich Black (#0D1B2A). oklch(19.1% 0.042 283.9), rgb(18, 17, 38).

Aa

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

About this color

#121126 is a very dark, muted purple. In OKLCH its lightness is 19%, its chroma 0.042 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.035 away. White text reads best on it, at 18.52:1.

Hue familyPurples
Lightnessvery dark (19%)
Chromamuted (0.042)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.13:1
White text18.52:1

Values

HEX#121126
RGBrgb(18, 17, 38)
HSLhsl(243, 38%, 11%)
OKLCHoklch(19.1% 0.042 283.9)

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 #121126 18.52:1 AAA Lc -107.2 Preferred for body text
Black text on #121126 1.13:1 Fails Lc 0.0 Not readable
#121126 text on white 18.52:1 AAA Lc 105.1 Preferred for body text
#121126 text on black 1.13: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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E8E9F3

    oklch(93.6% 0.013 281.6)

  3. Step 200

    200

    #D6D7EB

    oklch(88.4% 0.027 283.5)

  4. Step 300

    300

    #BCBDE0

    oklch(80.9% 0.049 284)

  5. Step 400

    400

    #9A9AD1

    oklch(70.6% 0.08 284.2)

  6. Step 500

    500

    #8281C5

    oklch(63.2% 0.101 283.8)

  7. Step 600

    600

    #6C69B1

    oklch(55.6% 0.11 284.1)

  8. Step 700

    700

    #5A5798

    oklch(49% 0.102 284)

  9. Step 800

    800

    #4A487C

    oklch(42.8% 0.085 284)

  10. Step 900

    900

    #3D3C63

    oklch(37.6% 0.066 283.9)

  11. Step 950

    950 (this color)

    #121126

    oklch(19.1% 0.042 283.9)

Export this scale for Tailwind in the Tailwind colors tool

#121126 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)#0914270.017
Deuteranopia (no green cones)#0913260.016
Tritanopia (no blue cones)#0C15190.036
Achromatopsia (no color)#1313130.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #121126

    #121126

    oklch(19.1% 0.042 283.9)

  • #171500

    #171500

    oklch(19.2% 0.041 105.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #121126

    #121126

    oklch(19.1% 0.042 283.9)

  • #061526

    #061526

    oklch(19.3% 0.041 252.4)

  • #1B0E21

    #1B0E21

    oklch(19.2% 0.041 314.5)

Open the analogous palette in the generator

Split complementary

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

  • #121126

    #121126

    oklch(19.1% 0.042 283.9)

  • #1F1100

    #1F1100

    oklch(19.2% 0.041 74)

  • #0C1804

    #0C1804

    oklch(19.1% 0.042 133.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #121126

    #121126

    oklch(19.1% 0.042 283.9)

  • #230D04

    #230D04

    oklch(19.1% 0.042 44.9)

  • #001A0F

    #001A0F

    oklch(19.3% 0.041 163.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #121126

    #121126

    oklch(19.1% 0.042 283.9)

  • #240B0E

    #240B0E

    oklch(19.2% 0.043 14.6)

  • #171500

    #171500

    oklch(19.2% 0.041 105.2)

  • #001918

    #001918

    oklch(19.3% 0.033 191.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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