#140D27

Closest named color: Rich Black (#0D1B2A). oklch(18.5% 0.051 293.1), rgb(20, 13, 39).

Aa

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

About this color

#140D27 is a very dark, muted purple. In OKLCH its lightness is 18%, its chroma 0.051 and its hue 293°. 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.80:1.

Hue familyPurples
Lightnessvery dark (18%)
Chromamuted (0.051)
Temperaturein between
Nearest nameRich Black (#0D1B2A)
Black text1.11:1
White text18.80:1

Values

HEX#140D27
RGBrgb(20, 13, 39)
HSLhsl(256, 50%, 10%)
OKLCHoklch(18.5% 0.051 293.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 #140D27 18.80:1 AAA Lc -107.3 Preferred for body text
Black text on #140D27 1.11:1 Fails Lc 0.0 Not readable
#140D27 text on white 18.80:1 AAA Lc 105.2 Preferred for body text
#140D27 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

    #EAE8F5

    oklch(93.6% 0.018 293.1)

  3. Step 200

    200

    #D9D5EE

    oklch(88.4% 0.034 293)

  4. Step 300

    300

    #C2BAE5

    oklch(81% 0.061 293.5)

  5. Step 400

    400

    #A395D8

    oklch(70.7% 0.097 293.3)

  6. Step 500

    500

    #8D7ACD

    oklch(63.2% 0.123 293.1)

  7. Step 600

    600

    #7861BA

    oklch(55.6% 0.135 293.4)

  8. Step 700

    700

    #6550A1

    oklch(49.2% 0.126 293.1)

  9. Step 800

    800

    #524282

    oklch(42.7% 0.104 293)

  10. Step 900

    900

    #443868

    oklch(37.7% 0.081 293.7)

  11. Step 950

    950 (this color)

    #140D27

    oklch(18.5% 0.051 293.1)

Export this scale for Tailwind in the Tailwind colors tool

#140D27 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)#0412280.031
Deuteranopia (no green cones)#0511260.029
Tritanopia (no blue cones)#0F12180.040
Achromatopsia (no color)#1212120.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #140D27

    #140D27

    oklch(18.5% 0.051 293.1)

  • #131400

    #131400

    oklch(18.4% 0.041 112.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #140D27

    #140D27

    oklch(18.5% 0.051 293.1)

  • #061129

    #061129

    oklch(18.3% 0.052 262.9)

  • #1D0920

    #1D0920

    oklch(18.4% 0.053 322.3)

Open the analogous palette in the generator

Split complementary

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

  • #140D27

    #140D27

    oklch(18.5% 0.051 293.1)

  • #1B1100

    #1B1100

    oklch(18.6% 0.038 83.3)

  • #031803

    #031803

    oklch(18.4% 0.052 143.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #140D27

    #140D27

    oklch(18.5% 0.051 293.1)

  • #220B00

    #220B00

    oklch(18.4% 0.047 52.2)

  • #001811

    #001811

    oklch(18.6% 0.036 171.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #140D27

    #140D27

    oklch(18.5% 0.051 293.1)

  • #250707

    #250707

    oklch(18.4% 0.052 23.7)

  • #131400

    #131400

    oklch(18.4% 0.041 112.1)

  • #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 #140D27, closest first.

Similar named colors

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

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