#180718

Closest named color: Almost Black (#070D0D). oklch(16.6% 0.043 327.3), rgb(24, 7, 24).

Aa

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

About this color

#180718 is a very dark, muted purple. In OKLCH its lightness is 17%, its chroma 0.043 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Almost Black (#070D0D), ΔE 0.052 away. White text reads best on it, at 19.40:1.

Hue familyPurples
Lightnessvery dark (17%)
Chromamuted (0.043)
Temperaturein between
Nearest nameAlmost Black (#070D0D)
Black text1.08:1
White text19.40:1

Values

HEX#180718
RGBrgb(24, 7, 24)
HSLhsl(300, 55%, 6%)
OKLCHoklch(16.6% 0.043 327.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 #180718 19.40:1 AAA Lc -107.5 Preferred for body text
Black text on #180718 1.08:1 Fails Lc 0.0 Not readable
#180718 text on white 19.40:1 AAA Lc 105.5 Preferred for body text
#180718 text on black 1.08: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

    #F8F4F8

    oklch(97.1% 0.007 325.6)

  2. Step 100

    100

    #F0E7EF

    oklch(93.7% 0.014 329.1)

  3. Step 200

    200

    #E4D3E3

    oklch(88.5% 0.028 327.6)

  4. Step 300

    300

    #D3B5D2

    oklch(80.8% 0.052 327.1)

  5. Step 400

    400

    #BD8FBB

    oklch(70.8% 0.082 327.8)

  6. Step 500

    500

    #AB72AA

    oklch(63.1% 0.105 327.3)

  7. Step 600

    600

    #965A96

    oklch(55.7% 0.114 327)

  8. Step 700

    700

    #804980

    oklch(49.1% 0.107 327.1)

  9. Step 800

    800

    #683C68

    oklch(42.6% 0.089 327)

  10. Step 900

    900

    #553454

    oklch(37.7% 0.068 327.9)

  11. Step 950

    950 (this color)

    #180718

    oklch(16.6% 0.043 327.3)

Export this scale for Tailwind in the Tailwind colors tool

#180718 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)#060C190.042
Deuteranopia (no green cones)#0A0E170.038
Tritanopia (no blue cones)#19090E0.025
Achromatopsia (no color)#0D0D0D0.044

Harmonies

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

Complementary

The opposite hue (180°).

  • #180718

    #180718

    oklch(16.6% 0.043 327.3)

  • #021304

    #021304

    oklch(16.5% 0.042 146.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #180718

    #180718

    oklch(16.6% 0.043 327.3)

  • #110A1F

    #110A1F

    oklch(16.7% 0.043 296.9)

  • #1C060F

    #1C060F

    oklch(16.6% 0.042 356.1)

Open the analogous palette in the generator

Split complementary

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

  • #180718

    #180718

    oklch(16.6% 0.043 327.3)

  • #0D1000

    #0D1000

    oklch(16.4% 0.038 117.2)

  • #00130E

    #00130E

    oklch(16.7% 0.031 175.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #180718

    #180718

    oklch(16.6% 0.043 327.3)

  • #150D00

    #150D00

    oklch(16.5% 0.034 85.3)

  • #001215

    #001215

    oklch(16.7% 0.029 207.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #180718

    #180718

    oklch(16.6% 0.043 327.3)

  • #1B0900

    #1B0900

    oklch(16.6% 0.04 56.8)

  • #021304

    #021304

    oklch(16.5% 0.042 146.8)

  • #00101C

    #00101C

    oklch(16.4% 0.037 238.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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