#140D1B

Closest named color: Rich Navy (#001219). oklch(17.6% 0.03 306.5), rgb(20, 13, 27).

Aa

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

About this color

#140D1B is a very dark, muted purple. In OKLCH its lightness is 18%, its chroma 0.030 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Navy (#001219), ΔE 0.042 away. White text reads best on it, at 19.03:1.

Hue familyPurples
Lightnessvery dark (18%)
Chromamuted (0.030)
Temperaturein between
Nearest nameRich Navy (#001219)
Black text1.10:1
White text19.03:1

Values

HEX#140D1B
RGBrgb(20, 13, 27)
HSLhsl(270, 35%, 8%)
OKLCHoklch(17.6% 0.03 306.5)

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 #140D1B 19.03:1 AAA Lc -107.4 Preferred for body text
Black text on #140D1B 1.10:1 Fails Lc 0.0 Not readable
#140D1B text on white 19.03:1 AAA Lc 105.4 Preferred for body text
#140D1B text on black 1.10: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

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #EBE8EF

    oklch(93.5% 0.01 305.4)

  3. Step 200

    200

    #DCD6E4

    oklch(88.5% 0.02 305.2)

  4. Step 300

    300

    #C6BBD3

    oklch(80.9% 0.035 306.2)

  5. Step 400

    400

    #AA98BD

    oklch(70.8% 0.057 307)

  6. Step 500

    500

    #957EAC

    oklch(63.1% 0.072 307.2)

  7. Step 600

    600

    #7F6798

    oklch(55.6% 0.079 306.4)

  8. Step 700

    700

    #6B5582

    oklch(49% 0.075 306.2)

  9. Step 800

    800

    #574669

    oklch(42.6% 0.06 306.2)

  10. Step 900

    900

    #483B56

    oklch(37.7% 0.048 306.2)

  11. Step 950

    950 (this color)

    #140D1B

    oklch(17.6% 0.03 306.5)

Export this scale for Tailwind in the Tailwind colors tool

#140D1B 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)#0A101C0.021
Deuteranopia (no green cones)#0C101B0.018
Tritanopia (no blue cones)#130F120.023
Achromatopsia (no color)#1010100.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #140D1B

    #140D1B

    oklch(17.6% 0.03 306.5)

  • #0D1305

    #0D1305

    oklch(17.6% 0.03 127.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #140D1B

    #140D1B

    oklch(17.6% 0.03 306.5)

  • #0D0F1E

    #0D0F1E

    oklch(17.5% 0.031 276.9)

  • #190B16

    #190B16

    oklch(17.5% 0.031 335.1)

Open the analogous palette in the generator

Split complementary

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

  • #140D1B

    #140D1B

    oklch(17.6% 0.03 306.5)

  • #141102

    #141102

    oklch(17.6% 0.031 100.1)

  • #05150B

    #05150B

    oklch(17.7% 0.031 155.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #140D1B

    #140D1B

    oklch(17.6% 0.03 306.5)

  • #190E03

    #190E03

    oklch(17.6% 0.03 69.1)

  • #001513

    #001513

    oklch(17.6% 0.031 187.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #140D1B

    #140D1B

    oklch(17.6% 0.03 306.5)

  • #1C0C07

    #1C0C07

    oklch(17.7% 0.03 39.1)

  • #0D1305

    #0D1305

    oklch(17.6% 0.03 127.1)

  • #011419

    #011419

    oklch(17.7% 0.029 215.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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