#1F0817

Closest named color: Very Dark Brown (#1D0200). oklch(18% 0.047 342.8), rgb(31, 8, 23).

Aa

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

About this color

#1F0817 is a very dark, muted purple. In OKLCH its lightness is 18%, its chroma 0.047 and its hue 343°. Its hue sits on the warm side of the wheel. The nearest named color is Very Dark Brown (#1D0200), ΔE 0.053 away. White text reads best on it, at 18.99:1.

Hue familyPurples
Lightnessvery dark (18%)
Chromamuted (0.047)
Temperaturewarm
Nearest nameVery Dark Brown (#1D0200)
Black text1.10:1
White text18.99:1

Values

HEX#1F0817
RGBrgb(31, 8, 23)
HSLhsl(321, 59%, 8%)
OKLCHoklch(18% 0.047 342.8)

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 #1F0817 18.99:1 AAA Lc -107.3 Preferred for body text
Black text on #1F0817 1.10:1 Fails Lc 0.0 Not readable
#1F0817 text on white 18.99:1 AAA Lc 105.3 Preferred for body text
#1F0817 text on black 1.10: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

    #F9F4F7

    oklch(97.2% 0.007 340.4)

  2. Step 100

    100

    #F2E6ED

    oklch(93.6% 0.016 341.4)

  3. Step 200

    200

    #E9D2DE

    oklch(88.6% 0.03 344.9)

  4. Step 300

    300

    #DBB3CA

    oklch(80.9% 0.055 342.9)

  5. Step 400

    400

    #C88BAF

    oklch(70.8% 0.088 343.4)

  6. Step 500

    500

    #B86C9C

    oklch(63% 0.114 342.4)

  7. Step 600

    600

    #A35386

    oklch(55.5% 0.123 342.9)

  8. Step 700

    700

    #8C4372

    oklch(49.1% 0.115 342.8)

  9. Step 800

    800

    #71385D

    oklch(42.7% 0.094 342.3)

  10. Step 900

    900

    #5C314C

    oklch(37.8% 0.073 342.8)

  11. Step 950

    950 (this color)

    #1F0817

    oklch(18% 0.047 342.8)

Export this scale for Tailwind in the Tailwind colors tool

#1F0817 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)#0A0E170.049
Deuteranopia (no green cones)#1012160.046
Tritanopia (no blue cones)#21080E0.019
Achromatopsia (no color)#1010100.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F0817

    #1F0817

    oklch(18% 0.047 342.8)

  • #00170C

    #00170C

    oklch(18.1% 0.04 161.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F0817

    #1F0817

    oklch(18% 0.047 342.8)

  • #190A20

    #190A20

    oklch(18% 0.048 314)

  • #22070C

    #22070C

    oklch(17.9% 0.047 11.3)

Open the analogous palette in the generator

Split complementary

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

  • #1F0817

    #1F0817

    oklch(18% 0.047 342.8)

  • #091601

    #091601

    oklch(18.1% 0.048 132.9)

  • #001615

    #001615

    oklch(18.1% 0.031 191)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F0817

    #1F0817

    oklch(18% 0.047 342.8)

  • #151200

    #151200

    oklch(18% 0.038 102.1)

  • #00151C

    #00151C

    oklch(18.1% 0.033 220.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F0817

    #1F0817

    oklch(18% 0.047 342.8)

  • #1C0E00

    #1C0E00

    oklch(18% 0.039 70.9)

  • #00170C

    #00170C

    oklch(18.1% 0.04 161.6)

  • #021225

    #021225

    oklch(18% 0.046 251.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1F0817 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.