#181527

Closest named color: Rich Black (#0D1B2A). oklch(20.9% 0.035 290.7), rgb(24, 21, 39).

Aa

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

About this color

#181527 is a very dark, muted purple. In OKLCH its lightness is 21%, its chroma 0.035 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.025 away. White text reads best on it, at 17.86:1.

Hue familyPurples
Lightnessvery dark (21%)
Chromamuted (0.035)
Temperaturein between
Nearest nameRich Black (#0D1B2A)
Black text1.17:1
White text17.86:1

Values

HEX#181527
RGBrgb(24, 21, 39)
HSLhsl(250, 30%, 12%)
OKLCHoklch(20.9% 0.035 290.7)

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 #181527 17.86:1 AAA Lc -106.8 Preferred for body text
Black text on #181527 1.17:1 Fails Lc 0.0 Not readable
#181527 text on white 17.86:1 AAA Lc 104.6 Preferred for body text
#181527 text on black 1.17: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

    #E9E9F2

    oklch(93.7% 0.012 286.2)

  3. Step 200

    200

    #D9D7E8

    oklch(88.6% 0.023 291.3)

  4. Step 300

    300

    #C0BCDA

    oklch(80.8% 0.042 291.5)

  5. Step 400

    400

    #A09AC8

    oklch(70.8% 0.067 290.6)

  6. Step 500

    500

    #8980BA

    oklch(63% 0.087 290.8)

  7. Step 600

    600

    #7369A6

    oklch(55.6% 0.094 290.5)

  8. Step 700

    700

    #61578E

    oklch(49% 0.087 291.2)

  9. Step 800

    800

    #4F4873

    oklch(42.8% 0.07 290.6)

  10. Step 900

    900

    #413C5D

    oklch(37.6% 0.056 290.4)

  11. Step 950

    950 (this color)

    #181527

    oklch(20.9% 0.035 290.7)

Export this scale for Tailwind in the Tailwind colors tool

#181527 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)#1018280.016
Deuteranopia (no green cones)#1017270.015
Tritanopia (no blue cones)#15181C0.028
Achromatopsia (no color)#1717170.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #181527

    #181527

    oklch(20.9% 0.035 290.7)

  • #191905

    #191905

    oklch(20.8% 0.035 109.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #181527

    #181527

    oklch(20.9% 0.035 290.7)

  • #0F1828

    #0F1828

    oklch(20.9% 0.035 261.4)

  • #1F1222

    #1F1222

    oklch(20.7% 0.036 319.9)

Open the analogous palette in the generator

Split complementary

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

  • #181527

    #181527

    oklch(20.9% 0.035 290.7)

  • #201604

    #201604

    oklch(20.8% 0.035 81.3)

  • #0F1C0C

    #0F1C0C

    oklch(20.9% 0.036 139.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #181527

    #181527

    oklch(20.9% 0.035 290.7)

  • #251308

    #251308

    oklch(20.9% 0.036 51.4)

  • #041D16

    #041D16

    oklch(20.8% 0.035 171.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #181527

    #181527

    oklch(20.9% 0.035 290.7)

  • #261111

    #261111

    oklch(20.9% 0.035 20.5)

  • #191905

    #191905

    oklch(20.8% 0.035 109.1)

  • #001D1F

    #001D1F

    oklch(21% 0.036 201.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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