#1F163D

Closest named color: Dark Indigo (#1F0954). oklch(23.6% 0.072 290.4), rgb(31, 22, 61).

Aa

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

About this color

#1F163D is a very dark, moderately saturated purple. In OKLCH its lightness is 24%, its chroma 0.072 and its hue 290°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Indigo (#1F0954), ΔE 0.051 away. White text reads best on it, at 16.92:1.

Hue familyPurples
Lightnessvery dark (24%)
Chromamoderately saturated (0.072)
Temperaturein between
Nearest nameDark Indigo (#1F0954)
Black text1.24:1
White text16.92:1

Values

HEX#1F163D
RGBrgb(31, 22, 61)
HSLhsl(254, 47%, 16%)
OKLCHoklch(23.6% 0.072 290.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 #1F163D 16.92:1 AAA Lc -106.1 Preferred for body text
Black text on #1F163D 1.24:1 Fails Lc 0.0 Not readable
#1F163D text on white 16.92:1 AAA Lc 103.7 Preferred for body text
#1F163D text on black 1.24: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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E7FA

    oklch(93.5% 0.026 290.7)

  3. Step 200

    200

    #D8D4F7

    oklch(88.4% 0.048 290.6)

  4. Step 300

    300

    #C0B8F4

    oklch(81% 0.084 290.5)

  5. Step 400

    400

    #A190EF

    oklch(70.7% 0.137 290.7)

  6. Step 500

    500

    #8B72E9

    oklch(63.2% 0.173 290.2)

  7. Step 600

    600

    #7756D7

    oklch(55.6% 0.189 290.7)

  8. Step 700

    700

    #6446BB

    oklch(49.2% 0.175 290.3)

  9. Step 800

    800

    #513A97

    oklch(42.7% 0.145 290.2)

  10. Step 900

    900

    #433378

    oklch(37.7% 0.113 290.6)

  11. Step 950

    950 (this color)

    #1F163D

    oklch(23.6% 0.072 290.4)

Export this scale for Tailwind in the Tailwind colors tool

#1F163D 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)#031D3E0.043
Deuteranopia (no green cones)#041C3C0.042
Tritanopia (no blue cones)#161E260.059
Achromatopsia (no color)#1D1D1D0.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F163D

    #1F163D

    oklch(23.6% 0.072 290.4)

  • #202000

    #202000

    oklch(23.6% 0.051 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F163D

    #1F163D

    oklch(23.6% 0.072 290.4)

  • #081D3F

    #081D3F

    oklch(23.6% 0.07 259.6)

  • #2D1033

    #2D1033

    oklch(23.6% 0.073 320.5)

Open the analogous palette in the generator

Split complementary

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

  • #1F163D

    #1F163D

    oklch(23.6% 0.072 290.4)

  • #2A1B00

    #2A1B00

    oklch(23.5% 0.049 80)

  • #072602

    #072602

    oklch(23.6% 0.072 140.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F163D

    #1F163D

    oklch(23.6% 0.072 290.4)

  • #341300

    #341300

    oklch(23.4% 0.062 50)

  • #00251B

    #00251B

    oklch(23.5% 0.046 170.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F163D

    #1F163D

    oklch(23.6% 0.072 290.4)

  • #390C0F

    #390C0F

    oklch(23.6% 0.071 20.8)

  • #202000

    #202000

    oklch(23.6% 0.051 109.8)

  • #002426

    #002426

    oklch(23.7% 0.04 200.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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