#1F0C19

Closest named color: Very Dark Brown (#1D0200). oklch(18.9% 0.039 340.3), rgb(31, 12, 25).

Aa

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

About this color

#1F0C19 is a very dark, muted purple. In OKLCH its lightness is 19%, its chroma 0.039 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Very Dark Brown (#1D0200), ΔE 0.058 away. White text reads best on it, at 18.66:1.

Hue familyPurples
Lightnessvery dark (19%)
Chromamuted (0.039)
Temperaturewarm
Nearest nameVery Dark Brown (#1D0200)
Black text1.12:1
White text18.66:1

Values

HEX#1F0C19
RGBrgb(31, 12, 25)
HSLhsl(319, 44%, 8%)
OKLCHoklch(18.9% 0.039 340.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 #1F0C19 18.66:1 AAA Lc -107.2 Preferred for body text
Black text on #1F0C19 1.12:1 Fails Lc 0.0 Not readable
#1F0C19 text on white 18.66:1 AAA Lc 105.1 Preferred for body text
#1F0C19 text on black 1.12: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

    #F8F4F7

    oklch(97.1% 0.006 334)

  2. Step 100

    100

    #F0E6ED

    oklch(93.5% 0.014 336.2)

  3. Step 200

    200

    #E6D3DE

    oklch(88.6% 0.026 341.9)

  4. Step 300

    300

    #D6B5CA

    oklch(80.8% 0.047 339.8)

  5. Step 400

    400

    #C18FAF

    oklch(70.8% 0.074 340.5)

  6. Step 500

    500

    #B0729B

    oklch(63% 0.095 340.3)

  7. Step 600

    600

    #9B5A86

    oklch(55.6% 0.103 340.2)

  8. Step 700

    700

    #844972

    oklch(49% 0.097 339.6)

  9. Step 800

    800

    #6C3D5C

    oklch(42.8% 0.079 341)

  10. Step 900

    900

    #58344C

    oklch(37.8% 0.063 340.4)

  11. Step 950

    950 (this color)

    #1F0C19

    oklch(18.9% 0.039 340.3)

Export this scale for Tailwind in the Tailwind colors tool

#1F0C19 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)#0D11190.041
Deuteranopia (no green cones)#1214180.038
Tritanopia (no blue cones)#210C110.017
Achromatopsia (no color)#1212120.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F0C19

    #1F0C19

    oklch(18.9% 0.039 340.3)

  • #02190D

    #02190D

    oklch(19% 0.04 158.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F0C19

    #1F0C19

    oklch(18.9% 0.039 340.3)

  • #190E21

    #190E21

    oklch(18.9% 0.04 309.7)

  • #220B0F

    #220B0F

    oklch(18.8% 0.04 10.8)

Open the analogous palette in the generator

Split complementary

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

  • #1F0C19

    #1F0C19

    oklch(18.9% 0.039 340.3)

  • #0E1704

    #0E1704

    oklch(19% 0.039 129.4)

  • #001817

    #001817

    oklch(18.9% 0.032 191.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F0C19

    #1F0C19

    oklch(18.9% 0.039 340.3)

  • #181400

    #181400

    oklch(19% 0.04 100.1)

  • #00171E

    #00171E

    oklch(18.9% 0.034 219.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F0C19

    #1F0C19

    oklch(18.9% 0.039 340.3)

  • #1F1001

    #1F1001

    oklch(19% 0.039 68.4)

  • #02190D

    #02190D

    oklch(19% 0.04 158.8)

  • #051424

    #051424

    oklch(18.7% 0.039 250.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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