#140A17

Closest named color: Almost Black (#070D0D). oklch(16.6% 0.031 318.2), rgb(20, 10, 23).

Aa

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

About this color

#140A17 is a very dark, muted purple. In OKLCH its lightness is 17%, its chroma 0.031 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Almost Black (#070D0D), ΔE 0.039 away. White text reads best on it, at 19.34:1.

Hue familyPurples
Lightnessvery dark (17%)
Chromamuted (0.031)
Temperaturein between
Nearest nameAlmost Black (#070D0D)
Black text1.08:1
White text19.34:1

Values

HEX#140A17
RGBrgb(20, 10, 23)
HSLhsl(286, 39%, 6%)
OKLCHoklch(16.6% 0.031 318.2)

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 #140A17 19.34:1 AAA Lc -107.5 Preferred for body text
Black text on #140A17 1.08:1 Fails Lc 0.0 Not readable
#140A17 text on white 19.34:1 AAA Lc 105.6 Preferred for body text
#140A17 text on black 1.08: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

    #F7F4F8

    oklch(97.1% 0.006 317.8)

  2. Step 100

    100

    #EDE8EE

    oklch(93.7% 0.01 320.5)

  3. Step 200

    200

    #DFD5E2

    oklch(88.5% 0.021 318.4)

  4. Step 300

    300

    #CBBAD0

    oklch(81% 0.036 318.5)

  5. Step 400

    400

    #B096B8

    oklch(70.8% 0.057 318.2)

  6. Step 500

    500

    #9D7BA7

    oklch(63.1% 0.075 318.4)

  7. Step 600

    600

    #876492

    oklch(55.6% 0.081 317.9)

  8. Step 700

    700

    #73537C

    oklch(49.2% 0.074 318.7)

  9. Step 800

    800

    #5D4465

    oklch(42.7% 0.062 317.8)

  10. Step 900

    900

    #4C3952

    oklch(37.6% 0.048 317.9)

  11. Step 950

    950 (this color)

    #140A17

    oklch(16.6% 0.031 318.2)

Export this scale for Tailwind in the Tailwind colors tool

#140A17 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)#080D170.026
Deuteranopia (no green cones)#0B0E170.023
Tritanopia (no blue cones)#140C0F0.021
Achromatopsia (no color)#0E0E0E0.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #140A17

    #140A17

    oklch(16.6% 0.031 318.2)

  • #081205

    #081205

    oklch(16.8% 0.031 137.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #140A17

    #140A17

    oklch(16.6% 0.031 318.2)

  • #0E0C1B

    #0E0C1B

    oklch(16.6% 0.031 288.6)

  • #180911

    #180911

    oklch(16.7% 0.03 347.6)

Open the analogous palette in the generator

Split complementary

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

  • #140A17

    #140A17

    oklch(16.6% 0.031 318.2)

  • #100F02

    #100F02

    oklch(16.5% 0.029 105.9)

  • #01130C

    #01130C

    oklch(16.7% 0.032 167.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #140A17

    #140A17

    oklch(16.6% 0.031 318.2)

  • #160D01

    #160D01

    oklch(16.7% 0.032 79.6)

  • #001213

    #001213

    oklch(16.5% 0.028 199.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #140A17

    #140A17

    oklch(16.6% 0.031 318.2)

  • #190A04

    #190A04

    oklch(16.6% 0.03 46.8)

  • #081205

    #081205

    oklch(16.8% 0.031 137.6)

  • #011119

    #011119

    oklch(16.7% 0.03 228.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #140A17 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.