#140C25

Closest named color: Rich Black (#0D1B2A). oklch(18.1% 0.05 295.8), rgb(20, 12, 37).

Aa

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

About this color

#140C25 is a very dark, muted purple. In OKLCH its lightness is 18%, its chroma 0.050 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.051 away. White text reads best on it, at 18.93:1.

Hue familyPurples
Lightnessvery dark (18%)
Chromamuted (0.050)
Temperaturein between
Nearest nameRich Black (#0D1B2A)
Black text1.10:1
White text18.93:1

Values

HEX#140C25
RGBrgb(20, 12, 37)
HSLhsl(259, 51%, 10%)
OKLCHoklch(18.1% 0.05 295.8)

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 #140C25 18.93:1 AAA Lc -107.3 Preferred for body text
Black text on #140C25 1.10:1 Fails Lc 0.0 Not readable
#140C25 text on white 18.93:1 AAA Lc 105.3 Preferred for body text
#140C25 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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #EAE8F4

    oklch(93.6% 0.016 293.7)

  3. Step 200

    200

    #DAD5ED

    oklch(88.4% 0.033 295.3)

  4. Step 300

    300

    #C3B9E3

    oklch(80.8% 0.059 296)

  5. Step 400

    400

    #A595D5

    oklch(70.7% 0.093 295.4)

  6. Step 500

    500

    #9079CA

    oklch(63.1% 0.121 295.8)

  7. Step 600

    600

    #7B61B7

    oklch(55.7% 0.131 295.8)

  8. Step 700

    700

    #67509D

    oklch(49.1% 0.121 295.4)

  9. Step 800

    800

    #544280

    oklch(42.8% 0.101 295.2)

  10. Step 900

    900

    #453866

    oklch(37.7% 0.078 295.4)

  11. Step 950

    950 (this color)

    #140C25

    oklch(18.1% 0.05 295.8)

Export this scale for Tailwind in the Tailwind colors tool

#140C25 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)#0411260.032
Deuteranopia (no green cones)#0510240.030
Tritanopia (no blue cones)#1011160.040
Achromatopsia (no color)#1111110.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #140C25

    #140C25

    oklch(18.1% 0.05 295.8)

  • #111400

    #111400

    oklch(18.2% 0.042 116.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #140C25

    #140C25

    oklch(18.1% 0.05 295.8)

  • #071028

    #071028

    oklch(18.1% 0.051 265.6)

  • #1D091D

    #1D091D

    oklch(18.2% 0.049 327.3)

Open the analogous palette in the generator

Split complementary

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

  • #140C25

    #140C25

    oklch(18.1% 0.05 295.8)

  • #191000

    #191000

    oklch(18% 0.037 85.1)

  • #021704

    #021704

    oklch(18% 0.049 145.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #140C25

    #140C25

    oklch(18.1% 0.05 295.8)

  • #200B00

    #200B00

    oklch(18% 0.045 54.8)

  • #001711

    #001711

    oklch(18.3% 0.035 174.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #140C25

    #140C25

    oklch(18.1% 0.05 295.8)

  • #240706

    #240706

    oklch(18.1% 0.05 25.9)

  • #111400

    #111400

    oklch(18.2% 0.042 116.4)

  • #001618

    #001618

    oklch(18.2% 0.031 202.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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