#12122F

Closest named color: Rich Black (#0D1B2A). oklch(20.1% 0.056 280.1), rgb(18, 18, 47).

Aa

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

About this color

#12122F is a very dark, muted purple. In OKLCH its lightness is 20%, its chroma 0.056 and its hue 280°. 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.20:1.

Hue familyPurples
Lightnessvery dark (20%)
Chromamuted (0.056)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.15:1
White text18.20:1

Values

HEX#12122F
RGBrgb(18, 18, 47)
HSLhsl(240, 45%, 13%)
OKLCHoklch(20.1% 0.056 280.1)

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 #12122F 18.20:1 AAA Lc -107.0 Preferred for body text
Black text on #12122F 1.15:1 Fails Lc 0.0 Not readable
#12122F text on white 18.20:1 AAA Lc 104.8 Preferred for body text
#12122F text on black 1.15: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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E7E9F7

    oklch(93.7% 0.019 279.5)

  3. Step 200

    200

    #D4D7F2

    oklch(88.5% 0.037 280.6)

  4. Step 300

    300

    #B8BDEC

    oklch(81% 0.066 280)

  5. Step 400

    400

    #9399E2

    oklch(70.7% 0.107 279.7)

  6. Step 500

    500

    #7A7EDA

    oklch(63.1% 0.137 279.8)

  7. Step 600

    600

    #6565C7

    oklch(55.6% 0.148 280.4)

  8. Step 700

    700

    #5454AC

    oklch(49.2% 0.137 280.1)

  9. Step 800

    800

    #44458C

    oklch(42.7% 0.115 279.8)

  10. Step 900

    900

    #393B70

    oklch(37.8% 0.089 279.6)

  11. Step 950

    950 (this color)

    #12122F

    oklch(20.1% 0.056 280.1)

Export this scale for Tailwind in the Tailwind colors tool

#12122F 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)#0516300.022
Deuteranopia (no green cones)#03142E0.024
Tritanopia (no blue cones)#07181E0.048
Achromatopsia (no color)#1515150.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #12122F

    #12122F

    oklch(20.1% 0.056 280.1)

  • #1B1600

    #1B1600

    oklch(20% 0.041 98.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12122F

    #12122F

    oklch(20.1% 0.056 280.1)

  • #00172F

    #00172F

    oklch(20.2% 0.057 250.1)

  • #1E0E29

    #1E0E29

    oklch(20.2% 0.055 309.7)

Open the analogous palette in the generator

Split complementary

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

  • #12122F

    #12122F

    oklch(20.1% 0.056 280.1)

  • #231200

    #231200

    oklch(20.2% 0.044 69)

  • #0E1B00

    #0E1B00

    oklch(20.2% 0.054 129.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12122F

    #12122F

    oklch(20.1% 0.056 280.1)

  • #2B0B02

    #2B0B02

    oklch(20.2% 0.057 39.9)

  • #001C0F

    #001C0F

    oklch(20% 0.045 160.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12122F

    #12122F

    oklch(20.1% 0.056 280.1)

  • #2B0910

    #2B0910

    oklch(20.3% 0.057 11.3)

  • #1B1600

    #1B1600

    oklch(20% 0.041 98.4)

  • #001B1A

    #001B1A

    oklch(20.1% 0.034 191.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #12122F 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.