#1F1020

Closest named color: Rich Black (#0D1B2A). oklch(20.2% 0.038 324.7), rgb(31, 16, 32).

Aa

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

About this color

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

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

Values

HEX#1F1020
RGBrgb(31, 16, 32)
HSLhsl(296, 33%, 9%)
OKLCHoklch(20.2% 0.038 324.7)

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 #1F1020 18.20:1 AAA Lc -107.0 Preferred for body text
Black text on #1F1020 1.15:1 Fails Lc 0.0 Not readable
#1F1020 text on white 18.20:1 AAA Lc 104.8 Preferred for body text
#1F1020 text on black 1.15: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

    #EEE7EF

    oklch(93.6% 0.013 321.9)

  3. Step 200

    200

    #E2D4E3

    oklch(88.6% 0.025 323.8)

  4. Step 300

    300

    #D0B7D1

    oklch(80.9% 0.045 324.8)

  5. Step 400

    400

    #B891BA

    oklch(70.6% 0.073 324.7)

  6. Step 500

    500

    #A676A9

    oklch(63.2% 0.093 324.6)

  7. Step 600

    600

    #915E94

    oklch(55.7% 0.101 324.9)

  8. Step 700

    700

    #7B4D7E

    oklch(49.1% 0.094 324.7)

  9. Step 800

    800

    #643F66

    oklch(42.6% 0.078 325)

  10. Step 900

    900

    #523653

    oklch(37.7% 0.06 325.5)

  11. Step 950

    950 (this color)

    #1F1020

    oklch(20.2% 0.038 324.7)

Export this scale for Tailwind in the Tailwind colors tool

#1F1020 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)#0E14210.035
Deuteranopia (no green cones)#12161F0.033
Tritanopia (no blue cones)#2012160.024
Achromatopsia (no color)#1515150.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F1020

    #1F1020

    oklch(20.2% 0.038 324.7)

  • #0A1B0B

    #0A1B0B

    oklch(20.2% 0.039 145.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F1020

    #1F1020

    oklch(20.2% 0.038 324.7)

  • #181326

    #181326

    oklch(20.3% 0.038 294.9)

  • #240F17

    #240F17

    oklch(20.3% 0.037 356.7)

Open the analogous palette in the generator

Split complementary

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

  • #1F1020

    #1F1020

    oklch(20.2% 0.038 324.7)

  • #161803

    #161803

    oklch(20.1% 0.038 114)

  • #001C15

    #001C15

    oklch(20.2% 0.039 173.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F1020

    #1F1020

    oklch(20.2% 0.038 324.7)

  • #1E1501

    #1E1501

    oklch(20.2% 0.039 87.2)

  • #001B1E

    #001B1E

    oklch(20.3% 0.035 204.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F1020

    #1F1020

    oklch(20.2% 0.038 324.7)

  • #241105

    #241105

    oklch(20.2% 0.039 53)

  • #0A1B0B

    #0A1B0B

    oklch(20.2% 0.039 145.2)

  • #021925

    #021925

    oklch(20.2% 0.038 233.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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