#140523

Closest named color: Midnight (#03012D). oklch(16.3% 0.062 303.9), rgb(20, 5, 35).

Aa

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

About this color

#140523 is a very dark, muted purple. In OKLCH its lightness is 16%, its chroma 0.062 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.054 away. White text reads best on it, at 19.52:1.

Hue familyPurples
Lightnessvery dark (16%)
Chromamuted (0.062)
Temperaturein between
Nearest nameMidnight (#03012D)
Black text1.07:1
White text19.52:1

Values

HEX#140523
RGBrgb(20, 5, 35)
HSLhsl(270, 75%, 8%)
OKLCHoklch(16.3% 0.062 303.9)

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 #140523 19.52:1 AAA Lc -107.5 Preferred for body text
Black text on #140523 1.07:1 Fails Lc 0.0 Not readable
#140523 text on white 19.52:1 AAA Lc 105.5 Preferred for body text
#140523 text on black 1.07: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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EDE7F6

    oklch(93.7% 0.021 304)

  3. Step 200

    200

    #DFD3F0

    oklch(88.5% 0.041 304.3)

  4. Step 300

    300

    #CBB5E8

    oklch(80.9% 0.074 304.4)

  5. Step 400

    400

    #B08EDC

    oklch(70.7% 0.117 303.6)

  6. Step 500

    500

    #9D6FD2

    oklch(63% 0.15 303.9)

  7. Step 600

    600

    #8955BF

    oklch(55.6% 0.163 304.3)

  8. Step 700

    700

    #7445A5

    oklch(49.1% 0.151 303.9)

  9. Step 800

    800

    #5E3986

    oklch(42.6% 0.126 303.7)

  10. Step 900

    900

    #4D326B

    oklch(37.7% 0.098 304)

  11. Step 950

    950 (this color)

    #140523

    oklch(16.3% 0.062 303.9)

Export this scale for Tailwind in the Tailwind colors tool

#140523 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)#000C240.048
Deuteranopia (no green cones)#000C220.048
Tritanopia (no blue cones)#110B120.046
Achromatopsia (no color)#0C0C0C0.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #140523

    #140523

    oklch(16.3% 0.062 303.9)

  • #0A1100

    #0A1100

    oklch(16.4% 0.041 125.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #140523

    #140523

    oklch(16.3% 0.062 303.9)

  • #070928

    #070928

    oklch(16.3% 0.063 273.9)

  • #1C0219

    #1C0219

    oklch(16.2% 0.063 332.7)

Open the analogous palette in the generator

Split complementary

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

  • #140523

    #140523

    oklch(16.3% 0.062 303.9)

  • #130D00

    #130D00

    oklch(16.2% 0.033 91.4)

  • #001306

    #001306

    oklch(16.4% 0.041 154.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #140523

    #140523

    oklch(16.3% 0.062 303.9)

  • #190A00

    #190A00

    oklch(16.4% 0.037 63.9)

  • #00120F

    #00120F

    oklch(16.4% 0.029 182.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #140523

    #140523

    oklch(16.3% 0.062 303.9)

  • #220200

    #220200

    oklch(16.4% 0.06 33.1)

  • #0A1100

    #0A1100

    oklch(16.4% 0.041 125.2)

  • #001115

    #001115

    oklch(16.3% 0.028 212.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #140523 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.