#642C71

Closest named color: Rebecca Purple (#663399). oklch(40% 0.125 319.7), rgb(100, 44, 113).

Aa

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

About this color

#642C71 is a dark, moderately saturated purple. In OKLCH its lightness is 40%, its chroma 0.125 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.067 away. White text reads best on it, at 9.81:1.

Hue familyPurples
Lightnessdark (40%)
Chromamoderately saturated (0.125)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.14:1
White text9.81:1

Values

HEX#642C71
RGBrgb(100, 44, 113)
HSLhsl(289, 44%, 31%)
OKLCHoklch(40% 0.125 319.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 #642C71 9.81:1 AAA Lc -96.5 Preferred for body text
Black text on #642C71 2.14:1 Fails Lc 11.7 Not readable
#642C71 text on white 9.81:1 AAA Lc 92.3 Preferred for body text
#642C71 text on black 2.14:1 Fails Lc -10.2 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E4F6

    oklch(93.5% 0.028 318.7)

  3. Step 200

    200

    #E9CFEF

    oklch(88.6% 0.051 319.9)

  4. Step 300

    300

    #DCADE7

    oklch(80.9% 0.095 319.8)

  5. Step 400

    400

    #C97FDB

    oklch(70.7% 0.151 319.6)

  6. Step 500

    500

    #BA5AD0

    oklch(63% 0.192 319.8)

  7. Step 600

    600

    #A53BBD

    oklch(55.6% 0.208 319.6)

  8. Step 700

    700

    #8E2BA3

    oklch(49.1% 0.194 320)

  9. Step 800

    800

    #732684

    oklch(42.7% 0.16 319.8)

  10. Step 900

    900 (this color)

    #642C71

    oklch(40% 0.125 319.7)

  11. Step 950

    950

    #37173E

    oklch(27% 0.079 320.2)

Export this scale for Tailwind in the Tailwind colors tool

#642C71 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)#1D40730.119
Deuteranopia (no green cones)#31466F0.105
Tritanopia (no blue cones)#64374A0.078
Achromatopsia (no color)#4444440.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #642C71

    #642C71

    oklch(40% 0.125 319.7)

  • #195704

    #195704

    oklch(40.1% 0.126 139.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #642C71

    #642C71

    oklch(40% 0.125 319.7)

  • #493785

    #493785

    oklch(40% 0.125 290.2)

  • #762351

    #762351

    oklch(40% 0.126 350.1)

Open the analogous palette in the generator

Split complementary

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

  • #642C71

    #642C71

    oklch(40% 0.125 319.7)

  • #4B4B00

    #4B4B00

    oklch(40% 0.087 109.8)

  • #005541

    #005541

    oklch(40% 0.079 170)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #642C71

    #642C71

    oklch(40% 0.125 319.7)

  • #5F4200

    #5F4200

    oklch(40.1% 0.083 80.2)

  • #005356

    #005356

    oklch(40.2% 0.068 199)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #642C71

    #642C71

    oklch(40% 0.125 319.7)

  • #733200

    #733200

    oklch(40% 0.106 49.6)

  • #195704

    #195704

    oklch(40.1% 0.126 139.9)

  • #004F6A

    #004F6A

    oklch(40% 0.08 229.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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