#642A52

Closest named color: Grape Purple (#5D1451). oklch(38.1% 0.099 341), rgb(100, 42, 82).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (38%)
Chromamoderately saturated (0.099)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.99:1
White text10.52:1

Values

HEX#642A52
RGBrgb(100, 42, 82)
HSLhsl(319, 41%, 28%)
OKLCHoklch(38.1% 0.099 341)

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 #642A52 10.52:1 AAA Lc -98.0 Preferred for body text
Black text on #642A52 1.99:1 Fails Lc 9.9 Not readable
#642A52 text on white 10.52:1 AAA Lc 94.0 Preferred for body text
#642A52 text on black 1.99:1 Fails Lc -8.6 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

    #FAF3F7

    oklch(97.1% 0.009 341.8)

  2. Step 100

    100

    #F5E5EE

    oklch(93.7% 0.021 342.5)

  3. Step 200

    200

    #EDCFE1

    oklch(88.5% 0.041 341.3)

  4. Step 300

    300

    #E3AECF

    oklch(80.9% 0.075 341.1)

  5. Step 400

    400

    #D282B7

    oklch(70.7% 0.119 340.6)

  6. Step 500

    500

    #C460A4

    oklch(63% 0.151 341.1)

  7. Step 600

    600

    #AF4490

    oklch(55.6% 0.164 340.6)

  8. Step 700

    700

    #96357A

    oklch(49.1% 0.152 340.8)

  9. Step 800

    800

    #7A2D63

    oklch(42.7% 0.126 341.1)

  10. Step 900

    900 (this color)

    #642A52

    oklch(38.1% 0.099 341)

  11. Step 950

    950

    #3A192F

    oklch(27% 0.061 341.5)

Export this scale for Tailwind in the Tailwind colors tool

#642A52 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)#2D39530.105
Deuteranopia (no green cones)#3E42500.093
Tritanopia (no blue cones)#6A2B3A0.044
Achromatopsia (no color)#3F3F3F0.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #642A52

    #642A52

    oklch(38.1% 0.099 341)

  • #005033

    #005033

    oklch(38.1% 0.085 160.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #642A52

    #642A52

    oklch(38.1% 0.099 341)

  • #533169

    #533169

    oklch(38.1% 0.099 310.5)

  • #6D2835

    #6D2835

    oklch(38.2% 0.099 11.6)

Open the analogous palette in the generator

Split complementary

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

  • #642A52

    #642A52

    oklch(38.1% 0.099 341)

  • #2F4C07

    #2F4C07

    oklch(37.9% 0.098 130.9)

  • #004D4B

    #004D4B

    oklch(38% 0.065 191.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #642A52

    #642A52

    oklch(38.1% 0.099 341)

  • #4C4300

    #4C4300

    oklch(38% 0.079 100.7)

  • #004B5D

    #004B5D

    oklch(38.2% 0.07 220.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #642A52

    #642A52

    oklch(38.1% 0.099 341)

  • #5D3A00

    #5D3A00

    oklch(38.1% 0.082 71.7)

  • #005033

    #005033

    oklch(38.1% 0.085 160.7)

  • #0F4475

    #0F4475

    oklch(38.1% 0.099 251.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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