#642A6B

Closest named color: Grape Purple (#5D1451). oklch(39.4% 0.122 323.2), rgb(100, 42, 107).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (39%)
Chromamoderately saturated (0.122)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text2.08:1
White text10.07:1

Values

HEX#642A6B
RGBrgb(100, 42, 107)
HSLhsl(294, 44%, 29%)
OKLCHoklch(39.4% 0.122 323.2)

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 #642A6B 10.07:1 AAA Lc -97.0 Preferred for body text
Black text on #642A6B 2.08:1 Fails Lc 11.1 Not readable
#642A6B text on white 10.07:1 AAA Lc 92.9 Preferred for body text
#642A6B text on black 2.08:1 Fails Lc -9.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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F3E4F4

    oklch(93.5% 0.027 323.9)

  3. Step 200

    200

    #EACEED

    oklch(88.4% 0.052 323)

  4. Step 300

    300

    #DEADE3

    oklch(80.9% 0.092 323.3)

  5. Step 400

    400

    #CC7FD5

    oklch(70.7% 0.147 323.2)

  6. Step 500

    500

    #BD5AC9

    oklch(63% 0.187 323.2)

  7. Step 600

    600

    #A93BB6

    oklch(55.7% 0.204 323.3)

  8. Step 700

    700

    #902B9D

    oklch(49% 0.19 322.9)

  9. Step 800

    800

    #75267F

    oklch(42.6% 0.157 323)

  10. Step 900

    900 (this color)

    #642A6B

    oklch(39.4% 0.122 323.2)

  11. Step 950

    950

    #38173C

    oklch(27.1% 0.077 323.2)

Export this scale for Tailwind in the Tailwind colors tool

#642A6B 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)#1F3D6D0.120
Deuteranopia (no green cones)#3344690.104
Tritanopia (no blue cones)#6633460.073
Achromatopsia (no color)#4242420.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #642A6B

    #642A6B

    oklch(39.4% 0.122 323.2)

  • #0C550F

    #0C550F

    oklch(39.3% 0.122 143.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #642A6B

    #642A6B

    oklch(39.4% 0.122 323.2)

  • #4B3580

    #4B3580

    oklch(39.5% 0.121 293.6)

  • #74224B

    #74224B

    oklch(39.3% 0.122 353.4)

Open the analogous palette in the generator

Split complementary

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

  • #642A6B

    #642A6B

    oklch(39.4% 0.122 323.2)

  • #474B00

    #474B00

    oklch(39.6% 0.088 113.2)

  • #005342

    #005342

    oklch(39.4% 0.076 172.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #642A6B

    #642A6B

    oklch(39.4% 0.122 323.2)

  • #5B4100

    #5B4100

    oklch(39.4% 0.081 82.8)

  • #005056

    #005056

    oklch(39.3% 0.067 203.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #642A6B

    #642A6B

    oklch(39.4% 0.122 323.2)

  • #6E3400

    #6E3400

    oklch(39.5% 0.1 53.5)

  • #0C550F

    #0C550F

    oklch(39.3% 0.122 143.2)

  • #004D6B

    #004D6B

    oklch(39.5% 0.082 233.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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