#1F071F

Closest named color: Very Dark Purple (#2A0134). oklch(18.3% 0.058 327.6), rgb(31, 7, 31).

Aa

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

About this color

#1F071F is a very dark, muted purple. In OKLCH its lightness is 18%, its chroma 0.058 and its hue 328°. 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 18.94:1.

Hue familyPurples
Lightnessvery dark (18%)
Chromamuted (0.058)
Temperaturein between
Nearest nameVery Dark Purple (#2A0134)
Black text1.10:1
White text18.94:1

Values

HEX#1F071F
RGBrgb(31, 7, 31)
HSLhsl(300, 63%, 7%)
OKLCHoklch(18.3% 0.058 327.6)

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 #1F071F 18.94:1 AAA Lc -107.2 Preferred for body text
Black text on #1F071F 1.10:1 Fails Lc 0.0 Not readable
#1F071F text on white 18.94:1 AAA Lc 105.2 Preferred for body text
#1F071F text on black 1.10: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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F1E5F1

    oklch(93.5% 0.02 325.7)

  3. Step 200

    200

    #E7D1E6

    oklch(88.5% 0.037 327.3)

  4. Step 300

    300

    #D9B2D7

    oklch(80.9% 0.067 327.8)

  5. Step 400

    400

    #C588C3

    oklch(70.7% 0.108 327.8)

  6. Step 500

    500

    #B568B4

    oklch(63% 0.139 327.5)

  7. Step 600

    600

    #A04EA0

    oklch(55.6% 0.151 327.4)

  8. Step 700

    700

    #893E89

    oklch(49.1% 0.141 327.5)

  9. Step 800

    800

    #70346F

    oklch(42.8% 0.117 328)

  10. Step 900

    900

    #5B2E5A

    oklch(37.8% 0.091 328)

  11. Step 950

    950 (this color)

    #1F071F

    oklch(18.3% 0.058 327.6)

Export this scale for Tailwind in the Tailwind colors tool

#1F071F 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)#050F200.058
Deuteranopia (no green cones)#0C121E0.052
Tritanopia (no blue cones)#200A110.033
Achromatopsia (no color)#1111110.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F071F

    #1F071F

    oklch(18.3% 0.058 327.6)

  • #001804

    #001804

    oklch(18.2% 0.053 147.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F071F

    #1F071F

    oklch(18.3% 0.058 327.6)

  • #160B28

    #160B28

    oklch(18.4% 0.057 298)

  • #250512

    #250512

    oklch(18.4% 0.058 358.5)

Open the analogous palette in the generator

Split complementary

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

  • #1F071F

    #1F071F

    oklch(18.3% 0.058 327.6)

  • #111400

    #111400

    oklch(18.2% 0.042 116.4)

  • #001712

    #001712

    oklch(18.3% 0.034 177.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F071F

    #1F071F

    oklch(18.3% 0.058 327.6)

  • #191100

    #191100

    oklch(18.3% 0.037 88.4)

  • #001619

    #001619

    oklch(18.3% 0.031 206.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F071F

    #1F071F

    oklch(18.3% 0.058 327.6)

  • #200C00

    #200C00

    oklch(18.2% 0.044 57.4)

  • #001804

    #001804

    oklch(18.2% 0.053 147.6)

  • #001422

    #001422

    oklch(18.2% 0.041 239)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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