#642F6D

Closest named color: Grape Purple (#5D1451). oklch(40.2% 0.116 321.6), rgb(100, 47, 109).

Aa

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

About this color

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

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

Values

HEX#642F6D
RGBrgb(100, 47, 109)
HSLhsl(291, 40%, 31%)
OKLCHoklch(40.2% 0.116 321.6)

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 #642F6D 9.68:1 AAA Lc -96.3 Preferred for body text
Black text on #642F6D 2.16:1 Fails Lc 11.9 Not readable
#642F6D text on white 9.68:1 AAA Lc 92.0 Preferred for body text
#642F6D text on black 2.16: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

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #F0E6F2

    oklch(93.6% 0.019 320.6)

  3. Step 200

    200

    #E5D1E8

    oklch(88.4% 0.038 321.8)

  4. Step 300

    300

    #D6B3DB

    oklch(81% 0.067 322.1)

  5. Step 400

    400

    #C08AC9

    oklch(70.8% 0.107 321.6)

  6. Step 500

    500

    #AF6BBB

    oklch(63.1% 0.137 321.4)

  7. Step 600

    600

    #9B51A7

    oklch(55.7% 0.15 321.9)

  8. Step 700

    700

    #84418F

    oklch(49.1% 0.139 321.8)

  9. Step 800

    800 (this color)

    #642F6D

    oklch(40.2% 0.116 321.6)

  10. Step 900

    900

    #572F5E

    oklch(37.6% 0.091 321.5)

  11. Step 950

    950

    #331C37

    oklch(26.9% 0.058 321.5)

Export this scale for Tailwind in the Tailwind colors tool

#642F6D 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)#24416F0.111
Deuteranopia (no green cones)#36466B0.096
Tritanopia (no blue cones)#6538490.072
Achromatopsia (no color)#4444440.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #642F6D

    #642F6D

    oklch(40.2% 0.116 321.6)

  • #1B5714

    #1B5714

    oklch(40.3% 0.116 141.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #642F6D

    #642F6D

    oklch(40.2% 0.116 321.6)

  • #4B3981

    #4B3981

    oklch(40.2% 0.117 291.8)

  • #74284F

    #74284F

    oklch(40.2% 0.115 351.7)

Open the analogous palette in the generator

Split complementary

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

  • #642F6D

    #642F6D

    oklch(40.2% 0.116 321.6)

  • #4A4C00

    #4A4C00

    oklch(40.1% 0.088 111.5)

  • #005643

    #005643

    oklch(40.3% 0.079 171.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #642F6D

    #642F6D

    oklch(40.2% 0.116 321.6)

  • #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.

  • #642F6D

    #642F6D

    oklch(40.2% 0.116 321.6)

  • #723400

    #723400

    oklch(40.1% 0.104 51.6)

  • #1B5714

    #1B5714

    oklch(40.3% 0.116 141.6)

  • #004F6C

    #004F6C

    oklch(40.1% 0.081 231.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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