#1F0426

Closest named color: Very Dark Purple (#2A0134). oklch(18.3% 0.073 318.9), rgb(31, 4, 38).

Aa

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

About this color

#1F0426 is a very dark, moderately saturated purple. In OKLCH its lightness is 18%, its chroma 0.073 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Purple (#2A0134), ΔE 0.038 away. White text reads best on it, at 19.02:1.

Hue familyPurples
Lightnessvery dark (18%)
Chromamoderately saturated (0.073)
Temperaturein between
Nearest nameVery Dark Purple (#2A0134)
Black text1.10:1
White text19.02:1

Values

HEX#1F0426
RGBrgb(31, 4, 38)
HSLhsl(288, 81%, 8%)
OKLCHoklch(18.3% 0.073 318.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 #1F0426 19.02:1 AAA Lc -107.2 Preferred for body text
Black text on #1F0426 1.10:1 Fails Lc 0.0 Not readable
#1F0426 text on white 19.02:1 AAA Lc 105.1 Preferred for body text
#1F0426 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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F1E5F5

    oklch(93.6% 0.025 317.7)

  3. Step 200

    200

    #E7D0EE

    oklch(88.6% 0.047 318.3)

  4. Step 300

    300

    #D9AFE5

    oklch(80.9% 0.087 318.6)

  5. Step 400

    400

    #C583D7

    oklch(70.7% 0.138 318.9)

  6. Step 500

    500

    #B660CC

    oklch(63.1% 0.177 319.1)

  7. Step 600

    600

    #A143B9

    oklch(55.7% 0.192 318.9)

  8. Step 700

    700

    #89339F

    oklch(49% 0.179 318.8)

  9. Step 800

    800

    #702C81

    oklch(42.7% 0.148 319.1)

  10. Step 900

    900

    #5B2968

    oklch(37.8% 0.116 318.9)

  11. Step 950

    950 (this color)

    #1F0426

    oklch(18.3% 0.073 318.9)

Export this scale for Tailwind in the Tailwind colors tool

#1F0426 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)#000E270.071
Deuteranopia (no green cones)#0511250.064
Tritanopia (no blue cones)#1F0A140.045
Achromatopsia (no color)#1010100.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F0426

    #1F0426

    oklch(18.3% 0.073 318.9)

  • #041800

    #041800

    oklch(18.4% 0.057 138.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F0426

    #1F0426

    oklch(18.3% 0.073 318.9)

  • #130930

    #130930

    oklch(18.4% 0.073 288.9)

  • #270117

    #270117

    oklch(18.2% 0.073 349.1)

Open the analogous palette in the generator

Split complementary

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

  • #1F0426

    #1F0426

    oklch(18.3% 0.073 318.9)

  • #141300

    #141300

    oklch(18.2% 0.039 107.4)

  • #00170F

    #00170F

    oklch(18.2% 0.037 168.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F0426

    #1F0426

    oklch(18.3% 0.073 318.9)

  • #1B1000

    #1B1000

    oklch(18.3% 0.038 79.9)

  • #001617

    #001617

    oklch(18.2% 0.031 198.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F0426

    #1F0426

    oklch(18.3% 0.073 318.9)

  • #230A00

    #230A00

    oklch(18.4% 0.049 48.9)

  • #041800

    #041800

    oklch(18.4% 0.057 138.5)

  • #00151F

    #00151F

    oklch(18.3% 0.036 229.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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