#1F0318

Closest named color: Very Dark Brown (#1D0200). oklch(17% 0.061 338.8), rgb(31, 3, 24).

Aa

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

About this color

#1F0318 is a very dark, muted purple. In OKLCH its lightness is 17%, its chroma 0.061 and its hue 339°. Its hue sits on the warm side of the wheel. The nearest named color is Very Dark Brown (#1D0200), ΔE 0.057 away. White text reads best on it, at 19.36:1.

Hue familyPurples
Lightnessvery dark (17%)
Chromamuted (0.061)
Temperaturewarm
Nearest nameVery Dark Brown (#1D0200)
Black text1.08:1
White text19.36:1

Values

HEX#1F0318
RGBrgb(31, 3, 24)
HSLhsl(315, 82%, 7%)
OKLCHoklch(17% 0.061 338.8)

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 #1F0318 19.36:1 AAA Lc -107.3 Preferred for body text
Black text on #1F0318 1.08:1 Fails Lc 0.0 Not readable
#1F0318 text on white 19.36:1 AAA Lc 105.3 Preferred for body text
#1F0318 text on black 1.08: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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F4E5EF

    oklch(93.7% 0.021 337.7)

  3. Step 200

    200

    #ECCFE2

    oklch(88.4% 0.041 338.7)

  4. Step 300

    300

    #E1AFD0

    oklch(80.9% 0.072 339.3)

  5. Step 400

    400

    #D083B9

    oklch(70.7% 0.117 338.7)

  6. Step 500

    500

    #C262A7

    oklch(63.2% 0.148 339)

  7. Step 600

    600

    #AD4692

    oklch(55.6% 0.161 339.1)

  8. Step 700

    700

    #94377D

    oklch(49.2% 0.15 338.6)

  9. Step 800

    800

    #782E65

    oklch(42.6% 0.124 338.8)

  10. Step 900

    900

    #612A53

    oklch(37.7% 0.097 338.1)

  11. Step 950

    950 (this color)

    #1F0318

    oklch(17% 0.061 338.8)

Export this scale for Tailwind in the Tailwind colors tool

#1F0318 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)#040B190.067
Deuteranopia (no green cones)#0C0F170.058
Tritanopia (no blue cones)#21040B0.030
Achromatopsia (no color)#0E0E0E0.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F0318

    #1F0318

    oklch(17% 0.061 338.8)

  • #001409

    #001409

    oklch(16.9% 0.038 159.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F0318

    #1F0318

    oklch(17% 0.061 338.8)

  • #170623

    #170623

    oklch(17% 0.061 308.7)

  • #23020A

    #23020A

    oklch(16.9% 0.06 8.4)

Open the analogous palette in the generator

Split complementary

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

  • #1F0318

    #1F0318

    oklch(17% 0.061 338.8)

  • #091300

    #091300

    oklch(17% 0.045 129.3)

  • #001312

    #001312

    oklch(16.9% 0.029 190.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F0318

    #1F0318

    oklch(17% 0.061 338.8)

  • #130F00

    #130F00

    oklch(16.8% 0.035 98.4)

  • #001218

    #001218

    oklch(16.8% 0.03 219.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F0318

    #1F0318

    oklch(17% 0.061 338.8)

  • #1A0C00

    #1A0C00

    oklch(17.1% 0.037 68.6)

  • #001409

    #001409

    oklch(16.9% 0.038 159.5)

  • #001022

    #001022

    oklch(16.9% 0.046 248.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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