#1F0818

Closest named color: Very Dark Brown (#1D0200). oklch(18.1% 0.048 340.6), rgb(31, 8, 24).

Aa

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

About this color

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

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

Values

HEX#1F0818
RGBrgb(31, 8, 24)
HSLhsl(318, 59%, 8%)
OKLCHoklch(18.1% 0.048 340.6)

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 #1F0818 18.98:1 AAA Lc -107.3 Preferred for body text
Black text on #1F0818 1.10:1 Fails Lc 0.0 Not readable
#1F0818 text on white 18.98:1 AAA Lc 105.2 Preferred for body text
#1F0818 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

    #E8D1DF

    oklch(88.4% 0.032 340.6)

  4. Step 300

    300

    #DBB3CC

    oklch(81% 0.057 340.6)

  5. Step 400

    400

    #C78AB2

    oklch(70.6% 0.091 340.2)

  6. Step 500

    500

    #B86C9F

    oklch(63.1% 0.116 340.5)

  7. Step 600

    600

    #A35389

    oklch(55.7% 0.125 341)

  8. Step 700

    700

    #8B4375

    oklch(49.1% 0.117 340.3)

  9. Step 800

    800

    #71385F

    oklch(42.8% 0.096 340.5)

  10. Step 900

    900

    #5C304E

    oklch(37.7% 0.077 340.3)

  11. Step 950

    950 (this color)

    #1F0818

    oklch(18.1% 0.048 340.6)

Export this scale for Tailwind in the Tailwind colors tool

#1F0818 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)#090E190.050
Deuteranopia (no green cones)#1012170.046
Tritanopia (no blue cones)#21080E0.022
Achromatopsia (no color)#1010100.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F0818

    #1F0818

    oklch(18.1% 0.048 340.6)

  • #00170C

    #00170C

    oklch(18.1% 0.04 161.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F0818

    #1F0818

    oklch(18.1% 0.048 340.6)

  • #180B21

    #180B21

    oklch(18.1% 0.047 309.8)

  • #23070D

    #23070D

    oklch(18.1% 0.049 9.7)

Open the analogous palette in the generator

Split complementary

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

  • #1F0818

    #1F0818

    oklch(18.1% 0.048 340.6)

  • #0A1600

    #0A1600

    oklch(18.2% 0.049 130.6)

  • #001615

    #001615

    oklch(18.1% 0.031 191)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F0818

    #1F0818

    oklch(18.1% 0.048 340.6)

  • #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.

  • #1F0818

    #1F0818

    oklch(18.1% 0.048 340.6)

  • #1C0E00

    #1C0E00

    oklch(18% 0.039 70.9)

  • #00170C

    #00170C

    oklch(18.1% 0.04 161.6)

  • #011226

    #011226

    oklch(18% 0.049 250.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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