#20093B

Closest named color: Midnight Purple (#280137). oklch(21.2% 0.09 299.6), rgb(32, 9, 59).

Aa

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

About this color

#20093B is a very dark, moderately saturated purple. In OKLCH its lightness is 21%, its chroma 0.090 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight Purple (#280137), ΔE 0.027 away. White text reads best on it, at 18.04:1.

Hue familyPurples
Lightnessvery dark (21%)
Chromamoderately saturated (0.090)
Temperaturein between
Nearest nameMidnight Purple (#280137)
Black text1.16:1
White text18.04:1

Values

HEX#20093B
RGBrgb(32, 9, 59)
HSLhsl(268, 74%, 13%)
OKLCHoklch(21.2% 0.09 299.6)

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 #20093B 18.04:1 AAA Lc -106.6 Preferred for body text
Black text on #20093B 1.16:1 Fails Lc 0.0 Not readable
#20093B text on white 18.04:1 AAA Lc 104.4 Preferred for body text
#20093B text on black 1.16: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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #ECE6FC

    oklch(93.6% 0.03 298.3)

  3. Step 200

    200

    #DED1FB

    oklch(88.4% 0.059 299.3)

  4. Step 300

    300

    #CAB1FC

    oklch(80.8% 0.107 299.3)

  5. Step 400

    400

    #B184FA

    oklch(70.6% 0.171 299.6)

  6. Step 500

    500

    #9F5FF7

    oklch(63% 0.218 299.5)

  7. Step 600

    600

    #8B3EE6

    oklch(55.6% 0.237 299.3)

  8. Step 700

    700

    #772DC8

    oklch(49.1% 0.221 299.7)

  9. Step 800

    800

    #6028A1

    oklch(42.6% 0.182 299.6)

  10. Step 900

    900

    #4E2880

    oklch(37.7% 0.141 299.3)

  11. Step 950

    950 (this color)

    #20093B

    oklch(21.2% 0.09 299.6)

Export this scale for Tailwind in the Tailwind colors tool

#20093B 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)#00163C0.060
Deuteranopia (no green cones)#00163A0.061
Tritanopia (no blue cones)#1A16210.068
Achromatopsia (no color)#1616160.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #20093B

    #20093B

    oklch(21.2% 0.09 299.6)

  • #161C00

    #161C00

    oklch(21.3% 0.051 120.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #20093B

    #20093B

    oklch(21.2% 0.09 299.6)

  • #0A1241

    #0A1241

    oklch(21.3% 0.089 269.5)

  • #2D032C

    #2D032C

    oklch(21.2% 0.089 329.2)

Open the analogous palette in the generator

Split complementary

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

  • #20093B

    #20093B

    oklch(21.2% 0.09 299.6)

  • #211800

    #211800

    oklch(21.4% 0.044 90.2)

  • #002008

    #002008

    oklch(21.3% 0.06 149.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #20093B

    #20093B

    oklch(21.2% 0.09 299.6)

  • #291200

    #291200

    oklch(21.2% 0.05 59.5)

  • #001E19

    #001E19

    oklch(21.1% 0.038 179.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #20093B

    #20093B

    oklch(21.2% 0.09 299.6)

  • #370000

    #370000

    oklch(21.1% 0.087 29.2)

  • #161C00

    #161C00

    oklch(21.3% 0.051 120.1)

  • #001D22

    #001D22

    oklch(21.2% 0.037 210.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #20093B 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.