#180C1E

Closest named color: Rich Navy (#001219). oklch(18.1% 0.04 313.7), rgb(24, 12, 30).

Aa

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

About this color

#180C1E is a very dark, muted purple. In OKLCH its lightness is 18%, its chroma 0.040 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Navy (#001219), ΔE 0.052 away. White text reads best on it, at 18.91:1.

Hue familyPurples
Lightnessvery dark (18%)
Chromamuted (0.040)
Temperaturein between
Nearest nameRich Navy (#001219)
Black text1.11:1
White text18.91:1

Values

HEX#180C1E
RGBrgb(24, 12, 30)
HSLhsl(280, 43%, 8%)
OKLCHoklch(18.1% 0.04 313.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 #180C1E 18.91:1 AAA Lc -107.3 Preferred for body text
Black text on #180C1E 1.11:1 Fails Lc 0.0 Not readable
#180C1E text on white 18.91:1 AAA Lc 105.3 Preferred for body text
#180C1E text on black 1.11: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

    #F7F4F8

    oklch(97.1% 0.006 317.8)

  2. Step 100

    100

    #EDE7F0

    oklch(93.5% 0.014 314.8)

  3. Step 200

    200

    #DFD4E6

    oklch(88.4% 0.027 312.6)

  4. Step 300

    300

    #CCB8D6

    oklch(80.9% 0.047 314.5)

  5. Step 400

    400

    #B293C2

    oklch(70.7% 0.075 314)

  6. Step 500

    500

    #9E78B2

    oklch(63.1% 0.095 313.6)

  7. Step 600

    600

    #89609E

    oklch(55.6% 0.104 313.6)

  8. Step 700

    700

    #744F87

    oklch(49.1% 0.096 313.5)

  9. Step 800

    800

    #5F416E

    oklch(42.8% 0.081 313.9)

  10. Step 900

    900

    #4D3759

    oklch(37.6% 0.063 313.1)

  11. Step 950

    950 (this color)

    #180C1E

    oklch(18.1% 0.04 313.7)

Export this scale for Tailwind in the Tailwind colors tool

#180C1E 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)#09101F0.032
Deuteranopia (no green cones)#0C111D0.029
Tritanopia (no blue cones)#180F130.028
Achromatopsia (no color)#1111110.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #180C1E

    #180C1E

    oklch(18.1% 0.04 313.7)

  • #0A1504

    #0A1504

    oklch(17.9% 0.038 134.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #180C1E

    #180C1E

    oklch(18.1% 0.04 313.7)

  • #100F23

    #100F23

    oklch(18.2% 0.04 283.9)

  • #1E0A16

    #1E0A16

    oklch(18.2% 0.04 344.9)

Open the analogous palette in the generator

Split complementary

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

  • #180C1E

    #180C1E

    oklch(18.1% 0.04 313.7)

  • #151200

    #151200

    oklch(18% 0.038 102.1)

  • #00170D

    #00170D

    oklch(18.1% 0.039 163.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #180C1E

    #180C1E

    oklch(18.1% 0.04 313.7)

  • #1C0F00

    #1C0F00

    oklch(18.2% 0.039 74.2)

  • #001616

    #001616

    oklch(18.1% 0.031 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #180C1E

    #180C1E

    oklch(18.1% 0.04 313.7)

  • #200B04

    #200B04

    oklch(18.1% 0.04 42.1)

  • #0A1504

    #0A1504

    oklch(17.9% 0.038 134.3)

  • #00151D

    #00151D

    oklch(18.2% 0.034 223.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #180C1E 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.