#642B89

Closest named color: Rebecca Purple (#663399). oklch(41.5% 0.153 309.1), rgb(100, 43, 137).

Aa

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

About this color

#642B89 is a dark, vivid purple. In OKLCH its lightness is 42%, its chroma 0.153 and its hue 309°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.030 away. White text reads best on it, at 9.33:1.

Hue familyPurples
Lightnessdark (42%)
Chromavivid (0.153)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.24:1
White text9.33:1

Values

HEX#642B89
RGBrgb(100, 43, 137)
HSLhsl(276, 52%, 35%)
OKLCHoklch(41.5% 0.153 309.1)

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 #642B89 9.33:1 AAA Lc -95.3 Preferred for body text
Black text on #642B89 2.24:1 Fails Lc 13.0 Not readable
#642B89 text on white 9.33:1 AAA Lc 90.9 Preferred for body text
#642B89 text on black 2.24:1 Fails Lc -11.4 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 800.

  1. Step 50

    50

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EFE6F7

    oklch(93.7% 0.025 309.4)

  3. Step 200

    200

    #E3D1F3

    oklch(88.6% 0.05 309.1)

  4. Step 300

    300

    #D2B1ED

    oklch(80.9% 0.09 309.4)

  5. Step 400

    400

    #BB86E4

    oklch(70.8% 0.143 309.1)

  6. Step 500

    500

    #AA64DB

    oklch(63.1% 0.182 309.3)

  7. Step 600

    600

    #9547C9

    oklch(55.7% 0.198 308.9)

  8. Step 700

    700

    #7F37AE

    oklch(49.1% 0.185 308.9)

  9. Step 800

    800 (this color)

    #642B89

    oklch(41.5% 0.153 309.1)

  10. Step 900

    900

    #542B70

    oklch(37.7% 0.119 309.2)

  11. Step 950

    950

    #311A42

    oklch(27% 0.076 308.7)

Export this scale for Tailwind in the Tailwind colors tool

#642B89 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)#00448C0.131
Deuteranopia (no green cones)#1A47870.122
Tritanopia (no blue cones)#5F3F560.107
Achromatopsia (no color)#4747470.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #642B89

    #642B89

    oklch(41.5% 0.153 309.1)

  • #385700

    #385700

    oklch(41.6% 0.111 129.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #642B89

    #642B89

    oklch(41.5% 0.153 309.1)

  • #3E3B9C

    #3E3B9C

    oklch(41.6% 0.153 278.8)

  • #7D1D66

    #7D1D66

    oklch(41.6% 0.152 339.5)

Open the analogous palette in the generator

Split complementary

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

  • #642B89

    #642B89

    oklch(41.5% 0.153 309.1)

  • #584C00

    #584C00

    oklch(41.6% 0.086 98.8)

  • #005B38

    #005B38

    oklch(41.5% 0.096 158.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #642B89

    #642B89

    oklch(41.5% 0.153 309.1)

  • #6B4100

    #6B4100

    oklch(41.5% 0.091 68.9)

  • #005854

    #005854

    oklch(41.5% 0.072 189.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #642B89

    #642B89

    oklch(41.5% 0.153 309.1)

  • #842800

    #842800

    oklch(41.5% 0.133 38.9)

  • #385700

    #385700

    oklch(41.6% 0.111 129.4)

  • #005567

    #005567

    oklch(41.5% 0.075 218.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #642B89 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.