#640382

Closest named color: Indigo (#4B0082). oklch(37.8% 0.184 315), rgb(100, 3, 130).

Aa

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

About this color

#640382 is a dark, vivid purple. In OKLCH its lightness is 38%, its chroma 0.184 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Indigo (#4B0082), ΔE 0.057 away. White text reads best on it, at 11.18:1.

Hue familyPurples
Lightnessdark (38%)
Chromavivid (0.184)
Temperaturein between
Nearest nameIndigo (#4B0082)
Black text1.87:1
White text11.18:1

Values

HEX#640382
RGBrgb(100, 3, 130)
HSLhsl(286, 95%, 26%)
OKLCHoklch(37.8% 0.184 315)

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 #640382 11.18:1 AAA Lc -98.0 Preferred for body text
Black text on #640382 1.87:1 Fails Lc 10.0 Not readable
#640382 text on white 11.18:1 AAA Lc 93.9 Preferred for body text
#640382 text on black 1.87:1 Fails Lc -8.6 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 900.

  1. Step 50

    50

    #FAF2FE

    oklch(97.1% 0.018 314.7)

  2. Step 100

    100

    #F4E2FD

    oklch(93.5% 0.041 314.6)

  3. Step 200

    200

    #EDCBFC

    oklch(88.6% 0.075 315.5)

  4. Step 300

    300

    #E2A5FE

    oklch(81% 0.137 314.8)

  5. Step 400

    400

    #D26CFD

    oklch(70.7% 0.22 314.7)

  6. Step 500

    500

    #C630FA

    oklch(63.2% 0.281 315)

  7. Step 600

    600

    #AC00DD

    oklch(55.7% 0.274 315.1)

  8. Step 700

    700

    #9100BB

    oklch(49.1% 0.242 315)

  9. Step 800

    800

    #77009B

    oklch(42.6% 0.21 314.7)

  10. Step 900

    900 (this color)

    #640382

    oklch(37.8% 0.184 315)

  11. Step 950

    950

    #3B0A4C

    oklch(27.1% 0.116 315.3)

Export this scale for Tailwind in the Tailwind colors tool

#640382 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)#0036850.157
Deuteranopia (no green cones)#003D800.160
Tritanopia (no blue cones)#612B4A0.118
Achromatopsia (no color)#3B3B3B0.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #640382

    #640382

    oklch(37.8% 0.184 315)

  • #254E00

    #254E00

    oklch(37.9% 0.111 135)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #640382

    #640382

    oklch(37.8% 0.184 315)

  • #40219C

    #40219C

    oklch(37.8% 0.183 285.2)

  • #760055

    #760055

    oklch(37.7% 0.161 344.7)

Open the analogous palette in the generator

Split complementary

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

  • #640382

    #640382

    oklch(37.8% 0.184 315)

  • #484400

    #484400

    oklch(37.8% 0.081 105.9)

  • #004F37

    #004F37

    oklch(37.9% 0.08 164.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #640382

    #640382

    oklch(37.8% 0.184 315)

  • #5A3A00

    #5A3A00

    oklch(37.7% 0.08 74.4)

  • #004C4C

    #004C4C

    oklch(37.7% 0.064 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #640382

    #640382

    oklch(37.8% 0.184 315)

  • #6E2A00

    #6E2A00

    oklch(37.8% 0.108 45.3)

  • #254E00

    #254E00

    oklch(37.9% 0.111 135)

  • #00495E

    #00495E

    oklch(37.7% 0.071 225)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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