#140F2B

Closest named color: Rich Black (#0D1B2A). oklch(19.3% 0.055 288.4), rgb(20, 15, 43).

Aa

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

About this color

#140F2B is a very dark, muted purple. In OKLCH its lightness is 19%, its chroma 0.055 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.042 away. White text reads best on it, at 18.53:1.

Hue familyPurples
Lightnessvery dark (19%)
Chromamuted (0.055)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.13:1
White text18.53:1

Values

HEX#140F2B
RGBrgb(20, 15, 43)
HSLhsl(251, 48%, 11%)
OKLCHoklch(19.3% 0.055 288.4)

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 #140F2B 18.53:1 AAA Lc -107.1 Preferred for body text
Black text on #140F2B 1.13:1 Fails Lc 0.0 Not readable
#140F2B text on white 18.53:1 AAA Lc 105.0 Preferred for body text
#140F2B text on black 1.13: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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E9E8F6

    oklch(93.6% 0.019 289.3)

  3. Step 200

    200

    #D7D6F0

    oklch(88.5% 0.036 287.4)

  4. Step 300

    300

    #BEBBE9

    oklch(81% 0.064 287.9)

  5. Step 400

    400

    #9E96DD

    oklch(70.7% 0.103 288.6)

  6. Step 500

    500

    #877AD4

    oklch(63% 0.133 288.6)

  7. Step 600

    600

    #7262C1

    oklch(55.7% 0.143 288.6)

  8. Step 700

    700

    #5F50A7

    oklch(49% 0.135 288.3)

  9. Step 800

    800

    #4E4287

    oklch(42.7% 0.111 288.8)

  10. Step 900

    900

    #40396C

    oklch(37.7% 0.085 287.9)

  11. Step 950

    950 (this color)

    #140F2B

    oklch(19.3% 0.055 288.4)

Export this scale for Tailwind in the Tailwind colors tool

#140F2B 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)#04142C0.029
Deuteranopia (no green cones)#04132A0.029
Tritanopia (no blue cones)#0D151B0.045
Achromatopsia (no color)#1313130.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #140F2B

    #140F2B

    oklch(19.3% 0.055 288.4)

  • #161600

    #161600

    oklch(19.4% 0.042 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #140F2B

    #140F2B

    oklch(19.3% 0.055 288.4)

  • #04142C

    #04142C

    oklch(19.3% 0.054 257.2)

  • #1E0B24

    #1E0B24

    oklch(19.2% 0.054 317.5)

Open the analogous palette in the generator

Split complementary

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

  • #140F2B

    #140F2B

    oklch(19.3% 0.055 288.4)

  • #1E1200

    #1E1200

    oklch(19.3% 0.04 79.3)

  • #061A02

    #061A02

    oklch(19.4% 0.054 139.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #140F2B

    #140F2B

    oklch(19.3% 0.055 288.4)

  • #260B00

    #260B00

    oklch(19.2% 0.052 48)

  • #001A11

    #001A11

    oklch(19.3% 0.039 167.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #140F2B

    #140F2B

    oklch(19.3% 0.055 288.4)

  • #28080B

    #28080B

    oklch(19.3% 0.054 18)

  • #161600

    #161600

    oklch(19.4% 0.042 109.8)

  • #00191A

    #00191A

    oklch(19.4% 0.033 198.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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