#140D29

Closest named color: Rich Black (#0D1B2A). oklch(18.6% 0.055 291.7), rgb(20, 13, 41).

Aa

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

About this color

#140D29 is a very dark, muted purple. In OKLCH its lightness is 19%, its chroma 0.055 and its hue 292°. 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.76:1.

Hue familyPurples
Lightnessvery dark (19%)
Chromamuted (0.055)
Temperaturein between
Nearest nameRich Black (#0D1B2A)
Black text1.11:1
White text18.76:1

Values

HEX#140D29
RGBrgb(20, 13, 41)
HSLhsl(255, 52%, 11%)
OKLCHoklch(18.6% 0.055 291.7)

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 #140D29 18.76:1 AAA Lc -107.2 Preferred for body text
Black text on #140D29 1.11:1 Fails Lc 0.0 Not readable
#140D29 text on white 18.76:1 AAA Lc 105.2 Preferred for body text
#140D29 text on black 1.11: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

    #F5F4FB

    oklch(97% 0.009 292.8)

  2. Step 100

    100

    #EAE8F6

    oklch(93.7% 0.019 292.6)

  3. Step 200

    200

    #D9D5F0

    oklch(88.4% 0.037 292.4)

  4. Step 300

    300

    #C1BAE8

    oklch(81% 0.065 291.9)

  5. Step 400

    400

    #A195DC

    oklch(70.7% 0.103 291.3)

  6. Step 500

    500

    #8B79D3

    oklch(63.1% 0.133 291.3)

  7. Step 600

    600

    #7660C0

    oklch(55.6% 0.145 291.5)

  8. Step 700

    700

    #644FA5

    oklch(49.1% 0.133 292)

  9. Step 800

    800

    #514186

    oklch(42.7% 0.111 291.7)

  10. Step 900

    900

    #43386B

    oklch(37.8% 0.085 291.7)

  11. Step 950

    950 (this color)

    #140D29

    oklch(18.6% 0.055 291.7)

Export this scale for Tailwind in the Tailwind colors tool

#140D29 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)#03122A0.032
Deuteranopia (no green cones)#0311280.032
Tritanopia (no blue cones)#0E13190.044
Achromatopsia (no color)#1212120.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #140D29

    #140D29

    oklch(18.6% 0.055 291.7)

  • #141500

    #141500

    oklch(18.8% 0.042 112)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #140D29

    #140D29

    oklch(18.6% 0.055 291.7)

  • #05122B

    #05122B

    oklch(18.7% 0.054 260.9)

  • #1E0921

    #1E0921

    oklch(18.7% 0.055 322.5)

Open the analogous palette in the generator

Split complementary

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

  • #140D29

    #140D29

    oklch(18.6% 0.055 291.7)

  • #1C1100

    #1C1100

    oklch(18.8% 0.039 80.8)

  • #031902

    #031902

    oklch(18.8% 0.056 141.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #140D29

    #140D29

    oklch(18.6% 0.055 291.7)

  • #230B00

    #230B00

    oklch(18.6% 0.048 51.1)

  • #001811

    #001811

    oklch(18.6% 0.036 171.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #140D29

    #140D29

    oklch(18.6% 0.055 291.7)

  • #270608

    #270608

    oklch(18.6% 0.056 20.4)

  • #141500

    #141500

    oklch(18.8% 0.042 112)

  • #001719

    #001719

    oklch(18.6% 0.032 202.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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