#642F6E

Closest named color: Grape Purple (#5D1451). oklch(40.3% 0.117 321.1), rgb(100, 47, 110).

Aa

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

About this color

#642F6E is a dark, moderately saturated purple. In OKLCH its lightness is 40%, its chroma 0.117 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.070 away. White text reads best on it, at 9.66:1.

Hue familyPurples
Lightnessdark (40%)
Chromamoderately saturated (0.117)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text2.17:1
White text9.66:1

Values

HEX#642F6E
RGBrgb(100, 47, 110)
HSLhsl(290, 40%, 31%)
OKLCHoklch(40.3% 0.117 321.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 #642F6E 9.66:1 AAA Lc -96.2 Preferred for body text
Black text on #642F6E 2.17:1 Fails Lc 12.0 Not readable
#642F6E text on white 9.66:1 AAA Lc 92.0 Preferred for body text
#642F6E text on black 2.17:1 Fails Lc -10.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

    #F8F3F9

    oklch(97% 0.01 320.5)

  2. Step 100

    100

    #F0E6F2

    oklch(93.6% 0.019 320.6)

  3. Step 200

    200

    #E5D1E9

    oklch(88.4% 0.039 320.6)

  4. Step 300

    300

    #D5B3DC

    oklch(80.9% 0.068 320.5)

  5. Step 400

    400

    #C08ACA

    oklch(70.8% 0.109 321.1)

  6. Step 500

    500

    #AF6BBC

    oklch(63.1% 0.139 321)

  7. Step 600

    600

    #9A50A8

    oklch(55.5% 0.152 321.1)

  8. Step 700

    700

    #844090

    oklch(49.1% 0.142 321.4)

  9. Step 800

    800 (this color)

    #642F6E

    oklch(40.3% 0.117 321.1)

  10. Step 900

    900

    #572F5F

    oklch(37.7% 0.092 320.8)

  11. Step 950

    950

    #331C37

    oklch(26.9% 0.058 321.5)

Export this scale for Tailwind in the Tailwind colors tool

#642F6E 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)#2441700.111
Deuteranopia (no green cones)#35476C0.098
Tritanopia (no blue cones)#65384A0.071
Achromatopsia (no color)#4545450.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #642F6E

    #642F6E

    oklch(40.3% 0.117 321.1)

  • #1C5712

    #1C5712

    oklch(40.3% 0.117 141)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #642F6E

    #642F6E

    oklch(40.3% 0.117 321.1)

  • #4A3982

    #4A3982

    oklch(40.2% 0.118 290.9)

  • #752850

    #752850

    oklch(40.4% 0.117 351.4)

Open the analogous palette in the generator

Split complementary

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

  • #642F6E

    #642F6E

    oklch(40.3% 0.117 321.1)

  • #4B4C00

    #4B4C00

    oklch(40.2% 0.088 110.6)

  • #005643

    #005643

    oklch(40.3% 0.079 171.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #642F6E

    #642F6E

    oklch(40.3% 0.117 321.1)

  • #5F4300

    #5F4300

    oklch(40.3% 0.083 81.5)

  • #005358

    #005358

    oklch(40.3% 0.068 201.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #642F6E

    #642F6E

    oklch(40.3% 0.117 321.1)

  • #733400

    #733400

    oklch(40.3% 0.105 51.2)

  • #1C5712

    #1C5712

    oklch(40.3% 0.117 141)

  • #00506C

    #00506C

    oklch(40.4% 0.081 230.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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