#18051F

Closest named color: Very Dark Purple (#2A0134). oklch(16.6% 0.058 316.2), rgb(24, 5, 31).

Aa

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

About this color

#18051F is a very dark, muted purple. In OKLCH its lightness is 17%, its chroma 0.058 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Purple (#2A0134), ΔE 0.060 away. White text reads best on it, at 19.43:1.

Hue familyPurples
Lightnessvery dark (17%)
Chromamuted (0.058)
Temperaturein between
Nearest nameVery Dark Purple (#2A0134)
Black text1.08:1
White text19.43:1

Values

HEX#18051F
RGBrgb(24, 5, 31)
HSLhsl(284, 72%, 7%)
OKLCHoklch(16.6% 0.058 316.2)

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 #18051F 19.43:1 AAA Lc -107.5 Preferred for body text
Black text on #18051F 1.08:1 Fails Lc 0.0 Not readable
#18051F text on white 19.43:1 AAA Lc 105.5 Preferred for body text
#18051F 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

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EFE6F3

    oklch(93.6% 0.02 315.7)

  3. Step 200

    200

    #E3D2EB

    oklch(88.5% 0.038 315.1)

  4. Step 300

    300

    #D2B3DF

    oklch(80.8% 0.069 315.9)

  5. Step 400

    400

    #BC8BCF

    oklch(70.8% 0.11 316.3)

  6. Step 500

    500

    #AA6CC2

    oklch(63% 0.141 316)

  7. Step 600

    600

    #9652AE

    oklch(55.6% 0.153 316.6)

  8. Step 700

    700

    #7F4296

    oklch(49.1% 0.142 315.9)

  9. Step 800

    800

    #68377A

    oklch(42.8% 0.119 316.2)

  10. Step 900

    900

    #543062

    oklch(37.6% 0.092 315.9)

  11. Step 950

    950 (this color)

    #18051F

    oklch(16.6% 0.058 316.2)

Export this scale for Tailwind in the Tailwind colors tool

#18051F 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)#010C200.055
Deuteranopia (no green cones)#050E1E0.049
Tritanopia (no blue cones)#1809100.038
Achromatopsia (no color)#0D0D0D0.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #18051F

    #18051F

    oklch(16.6% 0.058 316.2)

  • #041300

    #041300

    oklch(16.6% 0.05 136.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #18051F

    #18051F

    oklch(16.6% 0.058 316.2)

  • #0E0926

    #0E0926

    oklch(16.8% 0.057 286.4)

  • #1F0314

    #1F0314

    oklch(16.7% 0.058 346)

Open the analogous palette in the generator

Split complementary

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

  • #18051F

    #18051F

    oklch(16.6% 0.058 316.2)

  • #110F00

    #110F00

    oklch(16.6% 0.035 104.2)

  • #00130B

    #00130B

    oklch(16.6% 0.034 166.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #18051F

    #18051F

    oklch(16.6% 0.058 316.2)

  • #170C00

    #170C00

    oklch(16.6% 0.035 75.9)

  • #001213

    #001213

    oklch(16.5% 0.028 199.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #18051F

    #18051F

    oklch(16.6% 0.058 316.2)

  • #1E0700

    #1E0700

    oklch(16.7% 0.046 47)

  • #041300

    #041300

    oklch(16.6% 0.05 136.8)

  • #001119

    #001119

    oklch(16.6% 0.032 226.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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