#20103F

Closest named color: Midnight Purple (#280137). oklch(22.7% 0.085 294.3), rgb(32, 16, 63).

Aa

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

About this color

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

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

Values

HEX#20103F
RGBrgb(32, 16, 63)
HSLhsl(260, 59%, 15%)
OKLCHoklch(22.7% 0.085 294.3)

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 #20103F 17.39:1 AAA Lc -106.3 Preferred for body text
Black text on #20103F 1.20:1 Fails Lc 0.0 Not readable
#20103F text on white 17.39:1 AAA Lc 104.0 Preferred for body text
#20103F 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

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #EAE7FC

    oklch(93.7% 0.028 292.4)

  3. Step 200

    200

    #DBD3FB

    oklch(88.6% 0.055 294.4)

  4. Step 300

    300

    #C4B4FC

    oklch(80.9% 0.101 294.2)

  5. Step 400

    400

    #A88AFA

    oklch(70.8% 0.161 294.3)

  6. Step 500

    500

    #9467F7

    oklch(63.1% 0.206 294.1)

  7. Step 600

    600

    #8048E5

    oklch(55.5% 0.223 294.3)

  8. Step 700

    700

    #6D38C7

    oklch(49.1% 0.207 294.4)

  9. Step 800

    800

    #5830A1

    oklch(42.7% 0.172 294.1)

  10. Step 900

    900

    #482C80

    oklch(37.6% 0.135 294.3)

  11. Step 950

    950 (this color)

    #20103F

    oklch(22.7% 0.085 294.3)

Export this scale for Tailwind in the Tailwind colors tool

#20103F 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)#001B400.054
Deuteranopia (no green cones)#00193E0.053
Tritanopia (no blue cones)#181B250.067
Achromatopsia (no color)#1A1A1A0.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #20103F

    #20103F

    oklch(22.7% 0.085 294.3)

  • #1C1F00

    #1C1F00

    oklch(22.8% 0.052 114.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #20103F

    #20103F

    oklch(22.7% 0.085 294.3)

  • #071843

    #071843

    oklch(22.7% 0.085 264.1)

  • #2E0932

    #2E0932

    oklch(22.7% 0.085 323.7)

Open the analogous palette in the generator

Split complementary

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

  • #20103F

    #20103F

    oklch(22.7% 0.085 294.3)

  • #261A00

    #261A00

    oklch(22.7% 0.046 85)

  • #002403

    #002403

    oklch(22.6% 0.072 144.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #20103F

    #20103F

    oklch(22.7% 0.085 294.3)

  • #301300

    #301300

    oklch(22.7% 0.057 53.5)

  • #00231B

    #00231B

    oklch(22.9% 0.043 174.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #20103F

    #20103F

    oklch(22.7% 0.085 294.3)

  • #3B0306

    #3B0306

    oklch(22.7% 0.086 24.4)

  • #1C1F00

    #1C1F00

    oklch(22.8% 0.052 114.8)

  • #002125

    #002125

    oklch(22.6% 0.039 206.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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