#121024

Closest named color: Rich Black (#0D1B2A). oklch(18.7% 0.04 286.4), rgb(18, 16, 36).

Aa

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

About this color

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

Hue familyPurples
Lightnessvery dark (19%)
Chromamuted (0.040)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.12:1
White text18.66:1

Values

HEX#121024
RGBrgb(18, 16, 36)
HSLhsl(246, 38%, 10%)
OKLCHoklch(18.7% 0.04 286.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 #121024 18.66:1 AAA Lc -107.2 Preferred for body text
Black text on #121024 1.12:1 Fails Lc 0.0 Not readable
#121024 text on white 18.66:1 AAA Lc 105.2 Preferred for body text
#121024 text on black 1.12: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

    #E9E9F3

    oklch(93.7% 0.013 286.1)

  3. Step 200

    200

    #D7D7EA

    oklch(88.5% 0.026 285.9)

  4. Step 300

    300

    #BEBDDE

    oklch(81% 0.046 286.7)

  5. Step 400

    400

    #9C9ACE

    oklch(70.7% 0.075 286.1)

  6. Step 500

    500

    #8580C1

    oklch(63% 0.097 286.8)

  7. Step 600

    600

    #6F69AE

    oklch(55.6% 0.105 286.4)

  8. Step 700

    700

    #5D5795

    oklch(49.1% 0.098 286.6)

  9. Step 800

    800

    #4C4779

    oklch(42.6% 0.082 287)

  10. Step 900

    900

    #3F3C61

    oklch(37.6% 0.063 286.7)

  11. Step 950

    950 (this color)

    #121024

    oklch(18.7% 0.04 286.4)

Export this scale for Tailwind in the Tailwind colors tool

#121024 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)#0913250.017
Deuteranopia (no green cones)#0912240.016
Tritanopia (no blue cones)#0D14180.034
Achromatopsia (no color)#1212120.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #121024

    #121024

    oklch(18.7% 0.04 286.4)

  • #161400

    #161400

    oklch(18.8% 0.04 105)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #121024

    #121024

    oklch(18.7% 0.04 286.4)

  • #071325

    #071325

    oklch(18.7% 0.041 257.9)

  • #1A0D1F

    #1A0D1F

    oklch(18.7% 0.04 316.1)

Open the analogous palette in the generator

Split complementary

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

  • #121024

    #121024

    oklch(18.7% 0.04 286.4)

  • #1D1000

    #1D1000

    oklch(18.7% 0.039 75.2)

  • #0A1705

    #0A1705

    oklch(18.7% 0.04 136.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #121024

    #121024

    oklch(18.7% 0.04 286.4)

  • #210D04

    #210D04

    oklch(18.7% 0.039 47)

  • #00180F

    #00180F

    oklch(18.5% 0.038 166.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #121024

    #121024

    oklch(18.7% 0.04 286.4)

  • #220B0D

    #220B0D

    oklch(18.7% 0.04 16.3)

  • #161400

    #161400

    oklch(18.8% 0.04 105)

  • #001718

    #001718

    oklch(18.6% 0.032 198.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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