#1F082B

Closest named color: Very Dark Purple (#2A0134). oklch(19.4% 0.07 311.9), rgb(31, 8, 43).

Aa

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

About this color

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

Hue familyPurples
Lightnessvery dark (19%)
Chromamoderately saturated (0.070)
Temperaturein between
Nearest nameVery Dark Purple (#2A0134)
Black text1.12:1
White text18.61:1

Values

HEX#1F082B
RGBrgb(31, 8, 43)
HSLhsl(279, 69%, 10%)
OKLCHoklch(19.4% 0.07 311.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 #1F082B 18.61:1 AAA Lc -107.0 Preferred for body text
Black text on #1F082B 1.12:1 Fails Lc 0.0 Not readable
#1F082B text on white 18.61:1 AAA Lc 104.9 Preferred for body text
#1F082B text on black 1.12: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

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #EFE6F6

    oklch(93.7% 0.023 310.7)

  3. Step 200

    200

    #E3D1F0

    oklch(88.5% 0.046 311.2)

  4. Step 300

    300

    #D3B2E8

    oklch(81% 0.083 312.1)

  5. Step 400

    400

    #BC87DD

    oklch(70.7% 0.134 311.6)

  6. Step 500

    500

    #AB66D3

    oklch(63.1% 0.17 311.7)

  7. Step 600

    600

    #974AC0

    oklch(55.7% 0.185 312)

  8. Step 700

    700

    #803AA6

    oklch(49.1% 0.172 311.5)

  9. Step 800

    800

    #683186

    oklch(42.6% 0.142 311.7)

  10. Step 900

    900

    #552C6B

    oklch(37.6% 0.111 312.3)

  11. Step 950

    950 (this color)

    #1F082B

    oklch(19.4% 0.07 311.9)

Export this scale for Tailwind in the Tailwind colors tool

#1F082B 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)#00122C0.064
Deuteranopia (no green cones)#05132A0.057
Tritanopia (no blue cones)#1E0F180.048
Achromatopsia (no color)#1313130.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F082B

    #1F082B

    oklch(19.4% 0.07 311.9)

  • #0B1900

    #0B1900

    oklch(19.3% 0.053 131.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F082B

    #1F082B

    oklch(19.4% 0.07 311.9)

  • #110E33

    #110E33

    oklch(19.5% 0.07 281.3)

  • #28041D

    #28041D

    oklch(19.4% 0.07 342.4)

Open the analogous palette in the generator

Split complementary

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

  • #1F082B

    #1F082B

    oklch(19.4% 0.07 311.9)

  • #191500

    #191500

    oklch(19.5% 0.041 100.4)

  • #001A0F

    #001A0F

    oklch(19.3% 0.041 163.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F082B

    #1F082B

    oklch(19.4% 0.07 311.9)

  • #201100

    #201100

    oklch(19.4% 0.042 71.9)

  • #001919

    #001919

    oklch(19.3% 0.033 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F082B

    #1F082B

    oklch(19.4% 0.07 311.9)

  • #290900

    #290900

    oklch(19.4% 0.058 42.4)

  • #0B1900

    #0B1900

    oklch(19.3% 0.053 131.8)

  • #001820

    #001820

    oklch(19.4% 0.036 221.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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