#1F0F26

Closest named color: Rich Black (#0D1B2A). oklch(20.3% 0.049 314.8), rgb(31, 15, 38).

Aa

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

About this color

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

Hue familyPurples
Lightnessvery dark (20%)
Chromamuted (0.049)
Temperaturein between
Nearest nameRich Black (#0D1B2A)
Black text1.15:1
White text18.18:1

Values

HEX#1F0F26
RGBrgb(31, 15, 38)
HSLhsl(282, 43%, 10%)
OKLCHoklch(20.3% 0.049 314.8)

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 #1F0F26 18.18:1 AAA Lc -106.9 Preferred for body text
Black text on #1F0F26 1.15:1 Fails Lc 0.0 Not readable
#1F0F26 text on white 18.18:1 AAA Lc 104.8 Preferred for body text
#1F0F26 text on black 1.15: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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EEE7F2

    oklch(93.7% 0.016 313.6)

  3. Step 200

    200

    #E1D3E8

    oklch(88.4% 0.032 314.7)

  4. Step 300

    300

    #CFB6DB

    oklch(80.9% 0.058 314.8)

  5. Step 400

    400

    #B78FC9

    oklch(70.8% 0.094 315.1)

  6. Step 500

    500

    #A472BB

    oklch(63.1% 0.119 314.6)

  7. Step 600

    600

    #8F59A7

    oklch(55.5% 0.13 314.7)

  8. Step 700

    700

    #7A498F

    oklch(49.1% 0.12 315)

  9. Step 800

    800

    #633C74

    oklch(42.6% 0.1 314.9)

  10. Step 900

    900

    #51345E

    oklch(37.7% 0.078 314.8)

  11. Step 950

    950 (this color)

    #1F0F26

    oklch(20.3% 0.049 314.8)

Export this scale for Tailwind in the Tailwind colors tool

#1F0F26 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)#0A15270.043
Deuteranopia (no green cones)#0F16250.038
Tritanopia (no blue cones)#1F12180.033
Achromatopsia (no color)#1515150.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F0F26

    #1F0F26

    oklch(20.3% 0.049 314.8)

  • #0C1B04

    #0C1B04

    oklch(20.2% 0.048 135.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F0F26

    #1F0F26

    oklch(20.3% 0.049 314.8)

  • #15132C

    #15132C

    oklch(20.4% 0.049 284.9)

  • #260C1C

    #260C1C

    oklch(20.3% 0.05 344.7)

Open the analogous palette in the generator

Split complementary

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

  • #1F0F26

    #1F0F26

    oklch(20.3% 0.049 314.8)

  • #1A1800

    #1A1800

    oklch(20.5% 0.044 105.5)

  • #001D12

    #001D12

    oklch(20.4% 0.043 165)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F0F26

    #1F0F26

    oklch(20.3% 0.049 314.8)

  • #221300

    #221300

    oklch(20.2% 0.043 73.8)

  • #001C1C

    #001C1C

    oklch(20.5% 0.035 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F0F26

    #1F0F26

    oklch(20.3% 0.049 314.8)

  • #280E03

    #280E03

    oklch(20.2% 0.049 45.3)

  • #0C1B04

    #0C1B04

    oklch(20.2% 0.048 135.3)

  • #001A24

    #001A24

    oklch(20.3% 0.039 225.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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