#1F0F1F

Closest named color: Rich Black (#0D1B2A). oklch(19.9% 0.039 326.9), rgb(31, 15, 31).

Aa

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

About this color

#1F0F1F is a very dark, muted purple. In OKLCH its lightness is 20%, its chroma 0.039 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.050 away. White text reads best on it, at 18.31:1.

Hue familyPurples
Lightnessvery dark (20%)
Chromamuted (0.039)
Temperaturein between
Nearest nameRich Black (#0D1B2A)
Black text1.14:1
White text18.31:1

Values

HEX#1F0F1F
RGBrgb(31, 15, 31)
HSLhsl(300, 35%, 9%)
OKLCHoklch(19.9% 0.039 326.9)

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 #1F0F1F 18.31:1 AAA Lc -107.0 Preferred for body text
Black text on #1F0F1F 1.14:1 Fails Lc 0.0 Not readable
#1F0F1F text on white 18.31:1 AAA Lc 104.9 Preferred for body text
#1F0F1F text on black 1.14: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

    #EFE7EF

    oklch(93.7% 0.014 325.7)

  3. Step 200

    200

    #E3D3E2

    oklch(88.4% 0.027 327.7)

  4. Step 300

    300

    #D1B7D1

    oklch(81% 0.046 326)

  5. Step 400

    400

    #BA91B9

    oklch(70.8% 0.074 327.1)

  6. Step 500

    500

    #A875A8

    oklch(63.2% 0.095 326.6)

  7. Step 600

    600

    #935D93

    oklch(55.7% 0.103 326.8)

  8. Step 700

    700

    #7D4C7D

    oklch(49.1% 0.096 326.9)

  9. Step 800

    800

    #663F66

    oklch(42.8% 0.079 326.8)

  10. Step 900

    900

    #533553

    oklch(37.6% 0.063 326.7)

  11. Step 950

    950 (this color)

    #1F0F1F

    oklch(19.9% 0.039 326.9)

Export this scale for Tailwind in the Tailwind colors tool

#1F0F1F 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)#0E13200.036
Deuteranopia (no green cones)#12151E0.033
Tritanopia (no blue cones)#2011150.024
Achromatopsia (no color)#1515150.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F0F1F

    #1F0F1F

    oklch(19.9% 0.039 326.9)

  • #081A0B

    #081A0B

    oklch(19.7% 0.038 147.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F0F1F

    #1F0F1F

    oklch(19.9% 0.039 326.9)

  • #181225

    #181225

    oklch(20% 0.038 297.4)

  • #240E16

    #240E16

    oklch(20.1% 0.039 358.1)

Open the analogous palette in the generator

Split complementary

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

  • #1F0F1F

    #1F0F1F

    oklch(19.9% 0.039 326.9)

  • #151803

    #151803

    oklch(20% 0.039 116.3)

  • #001B15

    #001B15

    oklch(19.8% 0.037 176)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F0F1F

    #1F0F1F

    oklch(19.9% 0.039 326.9)

  • #1D1401

    #1D1401

    oklch(19.8% 0.038 86.4)

  • #001A1E

    #001A1E

    oklch(19.9% 0.034 208.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F0F1F

    #1F0F1F

    oklch(19.9% 0.039 326.9)

  • #231104

    #231104

    oklch(20% 0.039 56.9)

  • #081A0B

    #081A0B

    oklch(19.7% 0.038 147.8)

  • #021825

    #021825

    oklch(19.8% 0.039 236.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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