#140A27

Closest named color: Rich Black (#0D1B2A). oklch(17.8% 0.057 296), rgb(20, 10, 39).

Aa

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

About this color

#140A27 is a very dark, muted purple. In OKLCH its lightness is 18%, its chroma 0.057 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.057 away. White text reads best on it, at 19.04:1.

Hue familyPurples
Lightnessvery dark (18%)
Chromamuted (0.057)
Temperaturein between
Nearest nameRich Black (#0D1B2A)
Black text1.10:1
White text19.04:1

Values

HEX#140A27
RGBrgb(20, 10, 39)
HSLhsl(261, 59%, 10%)
OKLCHoklch(17.8% 0.057 296)

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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EBE7F6

    oklch(93.5% 0.021 298.2)

  3. Step 200

    200

    #DBD5F0

    oklch(88.6% 0.037 295.8)

  4. Step 300

    300

    #C4B8E8

    oklch(80.9% 0.068 296.3)

  5. Step 400

    400

    #A692DD

    oklch(70.6% 0.109 295.7)

  6. Step 500

    500

    #9276D3

    oklch(63.2% 0.138 296.1)

  7. Step 600

    600

    #7D5CC0

    oklch(55.6% 0.151 296.4)

  8. Step 700

    700

    #694CA6

    oklch(49.2% 0.14 295.7)

  9. Step 800

    800

    #563E86

    oklch(42.6% 0.116 296.5)

  10. Step 900

    900

    #46366C

    oklch(37.7% 0.091 295.4)

  11. Step 950

    950 (this color)

    #140A27

    oklch(17.8% 0.057 296)

Export this scale for Tailwind in the Tailwind colors tool

#140A27 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)#0010280.041
Deuteranopia (no green cones)#020F260.037
Tritanopia (no blue cones)#0F10170.044
Achromatopsia (no color)#1010100.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #140A27

    #140A27

    oklch(17.8% 0.057 296)

  • #101300

    #101300

    oklch(17.7% 0.041 116.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #140A27

    #140A27

    oklch(17.8% 0.057 296)

  • #060F2A

    #060F2A

    oklch(17.9% 0.057 266.1)

  • #1D061E

    #1D061E

    oklch(17.7% 0.057 326)

Open the analogous palette in the generator

Split complementary

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

  • #140A27

    #140A27

    oklch(17.8% 0.057 296)

  • #181000

    #181000

    oklch(17.9% 0.037 87.7)

  • #001703

    #001703

    oklch(17.8% 0.054 146.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #140A27

    #140A27

    oklch(17.8% 0.057 296)

  • #1F0B00

    #1F0B00

    oklch(17.8% 0.043 56.2)

  • #001611

    #001611

    oklch(17.9% 0.033 176.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #140A27

    #140A27

    oklch(17.8% 0.057 296)

  • #250404

    #250404

    oklch(17.7% 0.058 25.4)

  • #101300

    #101300

    oklch(17.7% 0.041 116.6)

  • #001518

    #001518

    oklch(17.9% 0.031 206.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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