#640480

Closest named color: Indigo (#4B0082). oklch(37.6% 0.181 315.7), rgb(100, 4, 128).

Aa

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

About this color

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

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

Values

HEX#640480
RGBrgb(100, 4, 128)
HSLhsl(286, 94%, 26%)
OKLCHoklch(37.6% 0.181 315.7)

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 #640480 11.22:1 AAA Lc -98.1 Preferred for body text
Black text on #640480 1.87:1 Fails Lc 9.8 Not readable
#640480 text on white 11.22:1 AAA Lc 94.1 Preferred for body text
#640480 text on black 1.87:1 Fails Lc -8.5 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

    #F4E2FC

    oklch(93.5% 0.04 315.6)

  3. Step 200

    200

    #EDCBFC

    oklch(88.6% 0.075 315.5)

  4. Step 300

    300

    #E2A5FC

    oklch(80.9% 0.135 315.4)

  5. Step 400

    400

    #D36CFA

    oklch(70.7% 0.218 315.8)

  6. Step 500

    500

    #C631F7

    oklch(63% 0.278 315.6)

  7. Step 600

    600

    #AD00DB

    oklch(55.7% 0.273 315.8)

  8. Step 700

    700

    #9200B9

    oklch(49.1% 0.241 315.9)

  9. Step 800

    800

    #78009A

    oklch(42.7% 0.21 315.5)

  10. Step 900

    900 (this color)

    #640480

    oklch(37.6% 0.181 315.7)

  11. Step 950

    950

    #3B0A4B

    oklch(27% 0.115 316)

Export this scale for Tailwind in the Tailwind colors tool

#640480 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)#0036830.158
Deuteranopia (no green cones)#003D7E0.161
Tritanopia (no blue cones)#622A490.116
Achromatopsia (no color)#3B3B3B0.183

Harmonies

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

Complementary

The opposite hue (180°).

  • #640480

    #640480

    oklch(37.6% 0.181 315.7)

  • #234E00

    #234E00

    oklch(37.8% 0.112 135.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #640480

    #640480

    oklch(37.6% 0.181 315.7)

  • #40219A

    #40219A

    oklch(37.6% 0.18 285.6)

  • #760053

    #760053

    oklch(37.6% 0.16 345.8)

Open the analogous palette in the generator

Split complementary

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

  • #640480

    #640480

    oklch(37.6% 0.181 315.7)

  • #484300

    #484300

    oklch(37.6% 0.08 104.8)

  • #004E37

    #004E37

    oklch(37.6% 0.079 165.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #640480

    #640480

    oklch(37.6% 0.181 315.7)

  • #593A00

    #593A00

    oklch(37.5% 0.079 75.4)

  • #004C4C

    #004C4C

    oklch(37.7% 0.064 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #640480

    #640480

    oklch(37.6% 0.181 315.7)

  • #6D2A00

    #6D2A00

    oklch(37.7% 0.107 45.6)

  • #234E00

    #234E00

    oklch(37.8% 0.112 135.7)

  • #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 #640480, closest first.

Similar named colors

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

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