#181427

Closest named color: Rich Black (#0D1B2A). oklch(20.6% 0.037 292.5), rgb(24, 20, 39).

Aa

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

About this color

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

Hue familyPurples
Lightnessvery dark (21%)
Chromamuted (0.037)
Temperaturein between
Nearest nameRich Black (#0D1B2A)
Black text1.16:1
White text17.97:1

Values

HEX#181427
RGBrgb(24, 20, 39)
HSLhsl(253, 32%, 12%)
OKLCHoklch(20.6% 0.037 292.5)

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 #181427 17.97:1 AAA Lc -106.9 Preferred for body text
Black text on #181427 1.16:1 Fails Lc 0.0 Not readable
#181427 text on white 17.97:1 AAA Lc 104.7 Preferred for body text
#181427 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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #EAE8F2

    oklch(93.5% 0.014 295.3)

  3. Step 200

    200

    #D9D6E8

    oklch(88.4% 0.025 293.5)

  4. Step 300

    300

    #C1BCDB

    oklch(80.9% 0.044 292.8)

  5. Step 400

    400

    #A199CA

    oklch(70.7% 0.071 292)

  6. Step 500

    500

    #8B7FBC

    oklch(63.1% 0.091 292.6)

  7. Step 600

    600

    #7568A8

    oklch(55.6% 0.098 292.2)

  8. Step 700

    700

    #625690

    oklch(49% 0.092 292.2)

  9. Step 800

    800

    #504775

    oklch(42.8% 0.075 291.9)

  10. Step 900

    900

    #423C5E

    oklch(37.8% 0.058 291.5)

  11. Step 950

    950 (this color)

    #181427

    oklch(20.6% 0.037 292.5)

Export this scale for Tailwind in the Tailwind colors tool

#181427 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)#0F17280.018
Deuteranopia (no green cones)#0F16270.017
Tritanopia (no blue cones)#15171B0.030
Achromatopsia (no color)#1717170.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #181427

    #181427

    oklch(20.6% 0.037 292.5)

  • #181904

    #181904

    oklch(20.6% 0.037 111.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #181427

    #181427

    oklch(20.6% 0.037 292.5)

  • #0E1729

    #0E1729

    oklch(20.6% 0.038 263.2)

  • #1F1121

    #1F1121

    oklch(20.5% 0.037 322.3)

Open the analogous palette in the generator

Split complementary

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

  • #181427

    #181427

    oklch(20.6% 0.037 292.5)

  • #201603

    #201603

    oklch(20.8% 0.037 82.8)

  • #0D1C0C

    #0D1C0C

    oklch(20.7% 0.037 142.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #181427

    #181427

    oklch(20.6% 0.037 292.5)

  • #251206

    #251206

    oklch(20.6% 0.038 52.5)

  • #021D16

    #021D16

    oklch(20.7% 0.037 173.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #181427

    #181427

    oklch(20.6% 0.037 292.5)

  • #26100F

    #26100F

    oklch(20.6% 0.037 23.6)

  • #181904

    #181904

    oklch(20.6% 0.037 111.7)

  • #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 #181427, closest first.

Similar named colors

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

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