#20103C

Closest named color: Midnight Purple (#280137). oklch(22.4% 0.081 296), rgb(32, 16, 60).

Aa

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

About this color

#20103C is a very dark, moderately saturated purple. In OKLCH its lightness is 22%, its chroma 0.081 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight Purple (#280137), ΔE 0.038 away. White text reads best on it, at 17.48:1.

Hue familyPurples
Lightnessvery dark (22%)
Chromamoderately saturated (0.081)
Temperaturein between
Nearest nameMidnight Purple (#280137)
Black text1.20:1
White text17.48:1

Values

HEX#20103C
RGBrgb(32, 16, 60)
HSLhsl(262, 58%, 15%)
OKLCHoklch(22.4% 0.081 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 #20103C 17.48:1 AAA Lc -106.4 Preferred for body text
Black text on #20103C 1.20:1 Fails Lc 0.0 Not readable
#20103C text on white 17.48:1 AAA Lc 104.1 Preferred for body text
#20103C text on black 1.20: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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE7FB

    oklch(93.7% 0.027 295)

  3. Step 200

    200

    #DCD3F9

    oklch(88.6% 0.053 296.2)

  4. Step 300

    300

    #C6B4F8

    oklch(80.9% 0.096 296.3)

  5. Step 400

    400

    #AA8AF4

    oklch(70.7% 0.153 296.2)

  6. Step 500

    500

    #9669F0

    oklch(63.1% 0.195 295.7)

  7. Step 600

    600

    #824BDE

    oklch(55.5% 0.212 295.9)

  8. Step 700

    700

    #6E3BC1

    oklch(49.1% 0.197 295.7)

  9. Step 800

    800

    #5A329C

    oklch(42.7% 0.163 296.1)

  10. Step 900

    900

    #492E7C

    oklch(37.7% 0.127 295.7)

  11. Step 950

    950 (this color)

    #20103C

    oklch(22.4% 0.081 296)

Export this scale for Tailwind in the Tailwind colors tool

#20103C 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)#001A3D0.054
Deuteranopia (no green cones)#00193B0.054
Tritanopia (no blue cones)#191A240.062
Achromatopsia (no color)#1A1A1A0.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #20103C

    #20103C

    oklch(22.4% 0.081 296)

  • #1B1E00

    #1B1E00

    oklch(22.4% 0.051 115)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #20103C

    #20103C

    oklch(22.4% 0.081 296)

  • #0A1740

    #0A1740

    oklch(22.3% 0.08 266.5)

  • #2D092F

    #2D092F

    oklch(22.3% 0.081 325.7)

Open the analogous palette in the generator

Split complementary

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

  • #20103C

    #20103C

    oklch(22.4% 0.081 296)

  • #251A00

    #251A00

    oklch(22.5% 0.046 87)

  • #002305

    #002305

    oklch(22.3% 0.068 145.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #20103C

    #20103C

    oklch(22.4% 0.081 296)

  • #2E1300

    #2E1300

    oklch(22.3% 0.055 55.6)

  • #00221B

    #00221B

    oklch(22.5% 0.042 176.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #20103C

    #20103C

    oklch(22.4% 0.081 296)

  • #390506

    #390506

    oklch(22.5% 0.081 25.6)

  • #1B1E00

    #1B1E00

    oklch(22.4% 0.051 115)

  • #002124

    #002124

    oklch(22.6% 0.038 203.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #20103C 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.