#1F102A

Closest named color: Rich Black (#0D1B2A). oklch(20.8% 0.053 309.1), rgb(31, 16, 42).

Aa

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

About this color

#1F102A is a very dark, muted purple. In OKLCH its lightness is 21%, its chroma 0.053 and its hue 309°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.046 away. White text reads best on it, at 18.01:1.

Hue familyPurples
Lightnessvery dark (21%)
Chromamuted (0.053)
Temperaturein between
Nearest nameRich Black (#0D1B2A)
Black text1.16:1
White text18.01:1

Values

HEX#1F102A
RGBrgb(31, 16, 42)
HSLhsl(275, 45%, 11%)
OKLCHoklch(20.8% 0.053 309.1)

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 #1F102A 18.01:1 AAA Lc -106.8 Preferred for body text
Black text on #1F102A 1.16:1 Fails Lc 0.0 Not readable
#1F102A text on white 18.01:1 AAA Lc 104.6 Preferred for body text
#1F102A text on black 1.16: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

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #EDE7F3

    oklch(93.6% 0.017 308.3)

  3. Step 200

    200

    #E0D3EB

    oklch(88.5% 0.035 309.7)

  4. Step 300

    300

    #CDB6E0

    oklch(80.9% 0.063 309.6)

  5. Step 400

    400

    #B38FD0

    oklch(70.7% 0.1 309.3)

  6. Step 500

    500

    #A072C4

    oklch(63.1% 0.129 309)

  7. Step 600

    600

    #8B59B0

    oklch(55.6% 0.139 309.1)

  8. Step 700

    700

    #764898

    oklch(49% 0.131 308.9)

  9. Step 800

    800

    #603C7B

    oklch(42.7% 0.107 308.9)

  10. Step 900

    900

    #4F3463

    oklch(37.8% 0.084 309.4)

  11. Step 950

    950 (this color)

    #1F102A

    oklch(20.8% 0.053 309.1)

Export this scale for Tailwind in the Tailwind colors tool

#1F102A 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)#09162B0.043
Deuteranopia (no green cones)#0E17290.038
Tritanopia (no blue cones)#1E141B0.036
Achromatopsia (no color)#1616160.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F102A

    #1F102A

    oklch(20.8% 0.053 309.1)

  • #101C01

    #101C01

    oklch(20.7% 0.052 129)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F102A

    #1F102A

    oklch(20.8% 0.053 309.1)

  • #13142F

    #13142F

    oklch(20.7% 0.053 279.1)

  • #270D20

    #270D20

    oklch(20.9% 0.053 338.8)

Open the analogous palette in the generator

Split complementary

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

  • #1F102A

    #1F102A

    oklch(20.8% 0.053 309.1)

  • #1D1800

    #1D1800

    oklch(20.9% 0.043 99)

  • #001E10

    #001E10

    oklch(20.7% 0.047 160)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F102A

    #1F102A

    oklch(20.8% 0.053 309.1)

  • #251300

    #251300

    oklch(20.7% 0.045 68.1)

  • #001D1B

    #001D1B

    oklch(20.8% 0.036 188.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F102A

    #1F102A

    oklch(20.8% 0.053 309.1)

  • #2B0E04

    #2B0E04

    oklch(20.8% 0.052 41.1)

  • #101C01

    #101C01

    oklch(20.7% 0.052 129)

  • #001C24

    #001C24

    oklch(20.9% 0.038 219.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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