#18122D

Closest named color: Rich Black (#0D1B2A). oklch(20.6% 0.052 291.4), rgb(24, 18, 45).

Aa

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

About this color

#18122D is a very dark, muted purple. In OKLCH its lightness is 21%, its chroma 0.052 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.036 away. White text reads best on it, at 18.05:1.

Hue familyPurples
Lightnessvery dark (21%)
Chromamuted (0.052)
Temperaturein between
Nearest nameRich Black (#0D1B2A)
Black text1.16:1
White text18.05:1

Values

HEX#18122D
RGBrgb(24, 18, 45)
HSLhsl(253, 43%, 12%)
OKLCHoklch(20.6% 0.052 291.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 #18122D 18.05:1 AAA Lc -106.9 Preferred for body text
Black text on #18122D 1.16:1 Fails Lc 0.0 Not readable
#18122D text on white 18.05:1 AAA Lc 104.7 Preferred for body text
#18122D text on black 1.16: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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #EAE8F5

    oklch(93.6% 0.018 293.1)

  3. Step 200

    200

    #D9D6EF

    oklch(88.6% 0.034 291.2)

  4. Step 300

    300

    #C0BAE6

    oklch(80.8% 0.062 291.2)

  5. Step 400

    400

    #A195DA

    oklch(70.6% 0.1 291.6)

  6. Step 500

    500

    #8B7ACF

    oklch(63.1% 0.126 291.6)

  7. Step 600

    600

    #7562BC

    oklch(55.6% 0.136 291)

  8. Step 700

    700

    #6350A2

    oklch(49% 0.128 291.7)

  9. Step 800

    800

    #504284

    oklch(42.7% 0.107 290.9)

  10. Step 900

    900

    #42386A

    oklch(37.6% 0.084 291)

  11. Step 950

    950 (this color)

    #18122D

    oklch(20.6% 0.052 291.4)

Export this scale for Tailwind in the Tailwind colors tool

#18122D 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)#08172E0.029
Deuteranopia (no green cones)#08162C0.029
Tritanopia (no blue cones)#13171D0.042
Achromatopsia (no color)#1616160.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #18122D

    #18122D

    oklch(20.6% 0.052 291.4)

  • #181900

    #181900

    oklch(20.5% 0.045 111.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #18122D

    #18122D

    oklch(20.6% 0.052 291.4)

  • #09162F

    #09162F

    oklch(20.5% 0.053 262.1)

  • #220E26

    #220E26

    oklch(20.6% 0.053 320.8)

Open the analogous palette in the generator

Split complementary

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

  • #18122D

    #18122D

    oklch(20.6% 0.052 291.4)

  • #211500

    #211500

    oklch(20.6% 0.042 81.7)

  • #081D05

    #081D05

    oklch(20.6% 0.053 140.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #18122D

    #18122D

    oklch(20.6% 0.052 291.4)

  • #290F00

    #290F00

    oklch(20.6% 0.052 52.9)

  • #001D15

    #001D15

    oklch(20.5% 0.04 171.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #18122D

    #18122D

    oklch(20.6% 0.052 291.4)

  • #2B0C0C

    #2B0C0C

    oklch(20.6% 0.052 22.7)

  • #181900

    #181900

    oklch(20.5% 0.045 111.8)

  • #001C1E

    #001C1E

    oklch(20.6% 0.035 201.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #18122D 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.