#18132F

Closest named color: Rich Black (#0D1B2A). oklch(21% 0.054 289.1), rgb(24, 19, 47).

Aa

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

About this color

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

Hue familyPurples
Lightnessvery dark (21%)
Chromamuted (0.054)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.17:1
White text17.90:1

Values

HEX#18132F
RGBrgb(24, 19, 47)
HSLhsl(251, 42%, 13%)
OKLCHoklch(21% 0.054 289.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 #18132F 17.90:1 AAA Lc -106.8 Preferred for body text
Black text on #18132F 1.17:1 Fails Lc 0.0 Not readable
#18132F text on white 17.90:1 AAA Lc 104.6 Preferred for body text
#18132F 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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E9E8F6

    oklch(93.6% 0.019 289.3)

  3. Step 200

    200

    #D8D6F0

    oklch(88.6% 0.036 289.2)

  4. Step 300

    300

    #BFBAE8

    oklch(80.8% 0.065 289.9)

  5. Step 400

    400

    #9F96DC

    oklch(70.7% 0.101 289.4)

  6. Step 500

    500

    #887AD3

    oklch(63% 0.131 289.3)

  7. Step 600

    600

    #7362C0

    oklch(55.7% 0.142 289.3)

  8. Step 700

    700

    #6050A6

    oklch(49% 0.133 289.1)

  9. Step 800

    800

    #4E4286

    oklch(42.6% 0.109 289)

  10. Step 900

    900

    #41396B

    oklch(37.8% 0.084 289.1)

  11. Step 950

    950 (this color)

    #18132F

    oklch(21% 0.054 289.1)

Export this scale for Tailwind in the Tailwind colors tool

#18132F 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)#0818300.028
Deuteranopia (no green cones)#08162E0.027
Tritanopia (no blue cones)#12191E0.046
Achromatopsia (no color)#1717170.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #18132F

    #18132F

    oklch(21% 0.054 289.1)

  • #1A1A00

    #1A1A00

    oklch(21.1% 0.046 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #18132F

    #18132F

    oklch(21% 0.054 289.1)

  • #081830

    #081830

    oklch(21% 0.052 258.3)

  • #230F28

    #230F28

    oklch(21.1% 0.055 319.3)

Open the analogous palette in the generator

Split complementary

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

  • #18132F

    #18132F

    oklch(21% 0.054 289.1)

  • #231500

    #231500

    oklch(20.9% 0.044 77.5)

  • #0A1E05

    #0A1E05

    oklch(21.1% 0.053 139.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #18132F

    #18132F

    oklch(21% 0.054 289.1)

  • #2B0F01

    #2B0F01

    oklch(21% 0.054 48.9)

  • #001E15

    #001E15

    oklch(20.9% 0.041 169.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #18132F

    #18132F

    oklch(21% 0.054 289.1)

  • #2C0C0E

    #2C0C0E

    oklch(20.9% 0.053 19.2)

  • #1A1A00

    #1A1A00

    oklch(21.1% 0.046 109.8)

  • #001D1E

    #001D1E

    oklch(20.9% 0.036 198)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #18132F 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.