#642C56

Closest named color: Grape Purple (#5D1451). oklch(38.6% 0.099 337.9), rgb(100, 44, 86).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (39%)
Chromamoderately saturated (0.099)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text2.03:1
White text10.31:1

Values

HEX#642C56
RGBrgb(100, 44, 86)
HSLhsl(315, 39%, 28%)
OKLCHoklch(38.6% 0.099 337.9)

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 #642C56 10.31:1 AAA Lc -97.6 Preferred for body text
Black text on #642C56 2.03:1 Fails Lc 10.4 Not readable
#642C56 text on white 10.31:1 AAA Lc 93.5 Preferred for body text
#642C56 text on black 2.03:1 Fails Lc -9.0 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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F4E5EF

    oklch(93.7% 0.021 337.7)

  3. Step 200

    200

    #ECCFE3

    oklch(88.5% 0.042 337.2)

  4. Step 300

    300

    #E1AFD1

    oklch(81% 0.073 338.4)

  5. Step 400

    400

    #D083BA

    oklch(70.7% 0.118 338.1)

  6. Step 500

    500

    #C261A9

    oklch(63.1% 0.151 338)

  7. Step 600

    600

    #AD4594

    oklch(55.6% 0.164 338.1)

  8. Step 700

    700

    #94367E

    oklch(49.1% 0.152 338)

  9. Step 800

    800

    #782E67

    oklch(42.7% 0.126 337.5)

  10. Step 900

    900 (this color)

    #642C56

    oklch(38.6% 0.099 337.9)

  11. Step 950

    950

    #391931

    oklch(26.9% 0.062 337.5)

Export this scale for Tailwind in the Tailwind colors tool

#642C56 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)#2E3B570.102
Deuteranopia (no green cones)#3D44540.093
Tritanopia (no blue cones)#692E3D0.046
Achromatopsia (no color)#4040400.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #642C56

    #642C56

    oklch(38.6% 0.099 337.9)

  • #005230

    #005230

    oklch(38.6% 0.091 157.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #642C56

    #642C56

    oklch(38.6% 0.099 337.9)

  • #52336C

    #52336C

    oklch(38.5% 0.099 307.5)

  • #6E293A

    #6E293A

    oklch(38.6% 0.099 7.8)

Open the analogous palette in the generator

Split complementary

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

  • #642C56

    #642C56

    oklch(38.6% 0.099 337.9)

  • #344D03

    #344D03

    oklch(38.5% 0.099 128.1)

  • #004F4A

    #004F4A

    oklch(38.5% 0.067 187.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #642C56

    #642C56

    oklch(38.6% 0.099 337.9)

  • #4F4400

    #4F4400

    oklch(38.6% 0.08 98.7)

  • #004C5C

    #004C5C

    oklch(38.5% 0.069 218.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #642C56

    #642C56

    oklch(38.6% 0.099 337.9)

  • #613A00

    #613A00

    oklch(38.7% 0.085 68.3)

  • #005230

    #005230

    oklch(38.6% 0.091 157.5)

  • #074675

    #074675

    oklch(38.4% 0.099 248)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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