#181829

Closest named color: Rich Black (#0D1B2A). oklch(21.8% 0.033 283.3), rgb(24, 24, 41).

Aa

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

About this color

#181829 is a very dark, muted purple. In OKLCH its lightness is 22%, its chroma 0.033 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.019 away. White text reads best on it, at 17.47:1.

Hue familyPurples
Lightnessvery dark (22%)
Chromamuted (0.033)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.20:1
White text17.47:1

Values

HEX#181829
RGBrgb(24, 24, 41)
HSLhsl(240, 26%, 13%)
OKLCHoklch(21.8% 0.033 283.3)

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 #181829 17.47:1 AAA Lc -106.6 Preferred for body text
Black text on #181829 1.20:1 Fails Lc 0.0 Not readable
#181829 text on white 17.47:1 AAA Lc 104.3 Preferred for body text
#181829 text on black 1.20: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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E8E9F1

    oklch(93.6% 0.011 280.5)

  3. Step 200

    200

    #D7D8E8

    oklch(88.6% 0.022 283.1)

  4. Step 300

    300

    #BDBEDA

    oklch(81% 0.039 283.9)

  5. Step 400

    400

    #9B9CC7

    oklch(70.7% 0.063 283.6)

  6. Step 500

    500

    #8383B9

    oklch(63.1% 0.081 283.8)

  7. Step 600

    600

    #6C6CA5

    oklch(55.5% 0.088 283.2)

  8. Step 700

    700

    #5B5A8D

    oklch(49.1% 0.081 283.9)

  9. Step 800

    800

    #4A4A73

    oklch(42.7% 0.067 283.2)

  10. Step 900

    900

    #3E3E5D

    oklch(37.8% 0.053 283.6)

  11. Step 950

    950 (this color)

    #181829

    oklch(21.8% 0.033 283.3)

Export this scale for Tailwind in the Tailwind colors tool

#181829 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)#131A2A0.010
Deuteranopia (no green cones)#1219290.011
Tritanopia (no blue cones)#141B1E0.029
Achromatopsia (no color)#1A1A1A0.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #181829

    #181829

    oklch(21.8% 0.033 283.3)

  • #1D1B07

    #1D1B07

    oklch(21.9% 0.034 103.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #181829

    #181829

    oklch(21.8% 0.033 283.3)

  • #0F1B29

    #0F1B29

    oklch(21.8% 0.033 253)

  • #201525

    #201525

    oklch(21.8% 0.034 314.9)

Open the analogous palette in the generator

Split complementary

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

  • #181829

    #181829

    oklch(21.8% 0.033 283.3)

  • #231808

    #231808

    oklch(21.9% 0.032 75.2)

  • #141D0D

    #141D0D

    oklch(21.7% 0.032 132.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #181829

    #181829

    oklch(21.8% 0.033 283.3)

  • #27150D

    #27150D

    oklch(21.8% 0.033 44.5)

  • #0A1F16

    #0A1F16

    oklch(21.9% 0.033 163.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #181829

    #181829

    oklch(21.8% 0.033 283.3)

  • #271316

    #271316

    oklch(21.6% 0.033 10.6)

  • #1D1B07

    #1D1B07

    oklch(21.9% 0.034 103.7)

  • #041F1E

    #041F1E

    oklch(21.8% 0.033 191.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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