#1F041E

Closest named color: Very Dark Purple (#2A0134). oklch(17.6% 0.064 329.4), rgb(31, 4, 30).

Aa

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

About this color

#1F041E is a very dark, muted purple. In OKLCH its lightness is 18%, its chroma 0.064 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Purple (#2A0134), ΔE 0.051 away. White text reads best on it, at 19.18:1.

Hue familyPurples
Lightnessvery dark (18%)
Chromamuted (0.064)
Temperaturein between
Nearest nameVery Dark Purple (#2A0134)
Black text1.09:1
White text19.18:1

Values

HEX#1F041E
RGBrgb(31, 4, 30)
HSLhsl(302, 77%, 7%)
OKLCHoklch(17.6% 0.064 329.4)

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 #1F041E 19.18:1 AAA Lc -107.3 Preferred for body text
Black text on #1F041E 1.09:1 Fails Lc 0.0 Not readable
#1F041E text on white 19.18:1 AAA Lc 105.2 Preferred for body text
#1F041E text on black 1.09: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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F3E5F1

    oklch(93.6% 0.022 330.3)

  3. Step 200

    200

    #EAD0E7

    oklch(88.6% 0.042 329.6)

  4. Step 300

    300

    #DDAFD9

    oklch(80.8% 0.077 329.1)

  5. Step 400

    400

    #CB84C5

    oklch(70.8% 0.122 329.8)

  6. Step 500

    500

    #BC62B7

    oklch(63.1% 0.157 329.3)

  7. Step 600

    600

    #A747A2

    oklch(55.7% 0.168 329.6)

  8. Step 700

    700

    #8F378B

    oklch(49.1% 0.158 329.5)

  9. Step 800

    800

    #742F71

    oklch(42.8% 0.13 329.3)

  10. Step 900

    900

    #5E2A5B

    oklch(37.6% 0.102 329.6)

  11. Step 950

    950 (this color)

    #1F041E

    oklch(17.6% 0.064 329.4)

Export this scale for Tailwind in the Tailwind colors tool

#1F041E 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)#020C1F0.069
Deuteranopia (no green cones)#0A101D0.058
Tritanopia (no blue cones)#20060F0.034
Achromatopsia (no color)#0F0F0F0.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F041E

    #1F041E

    oklch(17.6% 0.064 329.4)

  • #001605

    #001605

    oklch(17.5% 0.048 150)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F041E

    #1F041E

    oklch(17.6% 0.064 329.4)

  • #150828

    #150828

    oklch(17.6% 0.063 298.5)

  • #250210

    #250210

    oklch(17.6% 0.064 359.3)

Open the analogous palette in the generator

Split complementary

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

  • #1F041E

    #1F041E

    oklch(17.6% 0.064 329.4)

  • #0F1300

    #0F1300

    oklch(17.6% 0.041 118.7)

  • #001511

    #001511

    oklch(17.5% 0.032 179.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F041E

    #1F041E

    oklch(17.6% 0.064 329.4)

  • #171000

    #171000

    oklch(17.7% 0.036 90.4)

  • #001418

    #001418

    oklch(17.5% 0.03 210.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F041E

    #1F041E

    oklch(17.6% 0.064 329.4)

  • #1E0B00

    #1E0B00

    oklch(17.6% 0.042 57.8)

  • #001605

    #001605

    oklch(17.5% 0.048 150)

  • #001320

    #001320

    oklch(17.7% 0.039 237.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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