#18183A

Closest named color: Rich Black (#0D1B2A). oklch(23% 0.064 280.1), rgb(24, 24, 58).

Aa

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

About this color

#18183A is a very dark, muted purple. In OKLCH its lightness is 23%, its chroma 0.064 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.039 away. White text reads best on it, at 17.06:1.

Hue familyPurples
Lightnessvery dark (23%)
Chromamuted (0.064)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.23:1
White text17.06:1

Values

HEX#18183A
RGBrgb(24, 24, 58)
HSLhsl(240, 41%, 16%)
OKLCHoklch(23% 0.064 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 #18183A 17.06:1 AAA Lc -106.2 Preferred for body text
Black text on #18183A 1.23:1 Fails Lc 0.0 Not readable
#18183A text on white 17.06:1 AAA Lc 103.9 Preferred for body text
#18183A text on black 1.23: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

    #E7E9F9

    oklch(93.7% 0.022 280.3)

  3. Step 200

    200

    #D3D7F5

    oklch(88.5% 0.041 279.5)

  4. Step 300

    300

    #B6BCF1

    oklch(80.9% 0.075 279.5)

  5. Step 400

    400

    #9297EB

    oklch(70.6% 0.122 280.2)

  6. Step 500

    500

    #797BE4

    oklch(63% 0.155 280.1)

  7. Step 600

    600

    #6462D2

    oklch(55.7% 0.168 280.2)

  8. Step 700

    700

    #5350B6

    oklch(49.1% 0.157 280.2)

  9. Step 800

    800

    #444293

    oklch(42.6% 0.13 280.5)

  10. Step 900

    900

    #393975

    oklch(37.7% 0.1 280.5)

  11. Step 950

    950 (this color)

    #18183A

    oklch(23% 0.064 280.1)

Export this scale for Tailwind in the Tailwind colors tool

#18183A 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)#081D3B0.025
Deuteranopia (no green cones)#051B390.027
Tritanopia (no blue cones)#0B1F260.054
Achromatopsia (no color)#1C1C1C0.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #18183A

    #18183A

    oklch(23% 0.064 280.1)

  • #221D00

    #221D00

    oklch(22.9% 0.048 100.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #18183A

    #18183A

    oklch(23% 0.064 280.1)

  • #011E39

    #011E39

    oklch(23.1% 0.063 249.7)

  • #261333

    #261333

    oklch(23.1% 0.063 309.7)

Open the analogous palette in the generator

Split complementary

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

  • #18183A

    #18183A

    oklch(23% 0.064 280.1)

  • #2C1800

    #2C1800

    oklch(23.1% 0.05 69.3)

  • #132200

    #132200

    oklch(23% 0.061 129.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #18183A

    #18183A

    oklch(23% 0.064 280.1)

  • #351003

    #351003

    oklch(23.1% 0.064 40.7)

  • #002414

    #002414

    oklch(23% 0.052 159.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #18183A

    #18183A

    oklch(23% 0.064 280.1)

  • #350D16

    #350D16

    oklch(23.1% 0.064 10.1)

  • #221D00

    #221D00

    oklch(22.9% 0.048 100.3)

  • #002321

    #002321

    oklch(23.1% 0.04 189.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #18183A 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.