#181727

Closest named color: Rich Black (#0D1B2A). oklch(21.4% 0.031 286.3), rgb(24, 23, 39).

Aa

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

About this color

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

Hue familyPurples
Lightnessvery dark (21%)
Chromamuted (0.031)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.19:1
White text17.63:1

Values

HEX#181727
RGBrgb(24, 23, 39)
HSLhsl(244, 26%, 12%)
OKLCHoklch(21.4% 0.031 286.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 #181727 17.63:1 AAA Lc -106.7 Preferred for body text
Black text on #181727 1.19:1 Fails Lc 0.0 Not readable
#181727 text on white 17.63:1 AAA Lc 104.4 Preferred for body text
#181727 text on black 1.19: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

    #E9E9F1

    oklch(93.6% 0.011 286.2)

  3. Step 200

    200

    #D8D7E6

    oklch(88.4% 0.02 289)

  4. Step 300

    300

    #BEBED8

    oklch(81% 0.036 285.6)

  5. Step 400

    400

    #9D9CC4

    oklch(70.8% 0.058 286)

  6. Step 500

    500

    #8583B6

    oklch(63.1% 0.076 285.8)

  7. Step 600

    600

    #6F6CA1

    oklch(55.6% 0.081 286)

  8. Step 700

    700

    #5D5A8A

    oklch(49.1% 0.076 286.1)

  9. Step 800

    800

    #4C4A70

    oklch(42.8% 0.062 285.8)

  10. Step 900

    900

    #3F3E5B

    oklch(37.8% 0.049 285.4)

  11. Step 950

    950 (this color)

    #181727

    oklch(21.4% 0.031 286.3)

Export this scale for Tailwind in the Tailwind colors tool

#181727 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)#1219280.012
Deuteranopia (no green cones)#1218270.011
Tritanopia (no blue cones)#141A1D0.027
Achromatopsia (no color)#1919190.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #181727

    #181727

    oklch(21.4% 0.031 286.3)

  • #1B1A08

    #1B1A08

    oklch(21.4% 0.031 105.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #181727

    #181727

    oklch(21.4% 0.031 286.3)

  • #101A28

    #101A28

    oklch(21.6% 0.031 256.9)

  • #1F1523

    #1F1523

    oklch(21.5% 0.031 316.1)

Open the analogous palette in the generator

Split complementary

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

  • #181727

    #181727

    oklch(21.4% 0.031 286.3)

  • #211708

    #211708

    oklch(21.3% 0.03 76.2)

  • #121D0E

    #121D0E

    oklch(21.5% 0.032 137.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #181727

    #181727

    oklch(21.4% 0.031 286.3)

  • #25150D

    #25150D

    oklch(21.5% 0.03 47.2)

  • #091E16

    #091E16

    oklch(21.5% 0.032 166.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #181727

    #181727

    oklch(21.4% 0.031 286.3)

  • #261314

    #261314

    oklch(21.4% 0.032 16.7)

  • #1B1A08

    #1B1A08

    oklch(21.4% 0.031 105.9)

  • #041E1E

    #041E1E

    oklch(21.5% 0.032 195)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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