#642A4E

Closest named color: Grape Purple (#5D1451). oklch(37.9% 0.096 344.5), rgb(100, 42, 78).

Aa

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

About this color

#642A4E is a dark, moderately saturated purple. In OKLCH its lightness is 38%, its chroma 0.096 and its hue 344°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.052 away. White text reads best on it, at 10.58:1.

Hue familyPurples
Lightnessdark (38%)
Chromamoderately saturated (0.096)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.98:1
White text10.58:1

Values

HEX#642A4E
RGBrgb(100, 42, 78)
HSLhsl(323, 41%, 28%)
OKLCHoklch(37.9% 0.096 344.5)

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 #642A4E 10.58:1 AAA Lc -98.1 Preferred for body text
Black text on #642A4E 1.98:1 Fails Lc 9.8 Not readable
#642A4E text on white 10.58:1 AAA Lc 94.1 Preferred for body text
#642A4E text on black 1.98:1 Fails Lc -8.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 900.

  1. Step 50

    50

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F5E5ED

    oklch(93.7% 0.02 345.7)

  3. Step 200

    200

    #EDCFDF

    oklch(88.4% 0.039 344.5)

  4. Step 300

    300

    #E3AFCC

    oklch(81% 0.071 344.3)

  5. Step 400

    400

    #D383B2

    oklch(70.8% 0.114 344.3)

  6. Step 500

    500

    #C5619E

    oklch(63.1% 0.146 344.6)

  7. Step 600

    600

    #B04589

    oklch(55.6% 0.159 344.5)

  8. Step 700

    700

    #973674

    oklch(49.1% 0.147 344.6)

  9. Step 800

    800

    #7B2D5F

    oklch(42.7% 0.124 344.2)

  10. Step 900

    900 (this color)

    #642A4E

    oklch(37.9% 0.096 344.5)

  11. Step 950

    950

    #3B192D

    oklch(27.1% 0.061 345.6)

Export this scale for Tailwind in the Tailwind colors tool

#642A4E 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)#2F394F0.102
Deuteranopia (no green cones)#3F424D0.091
Tritanopia (no blue cones)#6A2A380.040
Achromatopsia (no color)#3F3F3F0.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #642A4E

    #642A4E

    oklch(37.9% 0.096 344.5)

  • #004F37

    #004F37

    oklch(37.9% 0.08 164.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #642A4E

    #642A4E

    oklch(37.9% 0.096 344.5)

  • #553065

    #553065

    oklch(37.9% 0.097 314.8)

  • #6C2832

    #6C2832

    oklch(37.9% 0.097 14.1)

Open the analogous palette in the generator

Split complementary

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

  • #642A4E

    #642A4E

    oklch(37.9% 0.096 344.5)

  • #2B4D10

    #2B4D10

    oklch(38% 0.096 134.4)

  • #004D4C

    #004D4C

    oklch(38% 0.065 193.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #642A4E

    #642A4E

    oklch(37.9% 0.096 344.5)

  • #494400

    #494400

    oklch(38% 0.08 104.9)

  • #004A5E

    #004A5E

    oklch(38% 0.071 223.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #642A4E

    #642A4E

    oklch(37.9% 0.096 344.5)

  • #5B3B00

    #5B3B00

    oklch(38% 0.08 74.8)

  • #004F37

    #004F37

    oklch(37.9% 0.08 164.8)

  • #194273

    #194273

    oklch(37.8% 0.096 254.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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