#642B7B

Closest named color: Rebecca Purple (#663399). oklch(40.6% 0.138 314.9), rgb(100, 43, 123).

Aa

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

About this color

#642B7B is a dark, moderately saturated purple. In OKLCH its lightness is 41%, its chroma 0.138 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.051 away. White text reads best on it, at 9.66:1.

Hue familyPurples
Lightnessdark (41%)
Chromamoderately saturated (0.138)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.17:1
White text9.66:1

Values

HEX#642B7B
RGBrgb(100, 43, 123)
HSLhsl(283, 48%, 33%)
OKLCHoklch(40.6% 0.138 314.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 #642B7B 9.66:1 AAA Lc -96.1 Preferred for body text
Black text on #642B7B 2.17:1 Fails Lc 12.1 Not readable
#642B7B text on white 9.66:1 AAA Lc 91.8 Preferred for body text
#642B7B text on black 2.17:1 Fails Lc -10.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 800.

  1. Step 50

    50

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #F0E5F5

    oklch(93.5% 0.024 315.5)

  3. Step 200

    200

    #E4D1EE

    oklch(88.5% 0.044 314.1)

  4. Step 300

    300

    #D4B1E5

    oklch(80.8% 0.081 314.6)

  5. Step 400

    400

    #BF87D8

    oklch(70.8% 0.129 315)

  6. Step 500

    500

    #AE66CD

    oklch(63.1% 0.165 314.9)

  7. Step 600

    600

    #994ABA

    oklch(55.6% 0.18 314.7)

  8. Step 700

    700

    #833BA0

    oklch(49.2% 0.166 314.9)

  9. Step 800

    800 (this color)

    #642B7B

    oklch(40.6% 0.138 314.9)

  10. Step 900

    900

    #562D68

    oklch(37.7% 0.106 314.5)

  11. Step 950

    950

    #331B3D

    oklch(27.1% 0.068 315.2)

Export this scale for Tailwind in the Tailwind colors tool

#642B7B 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)#0E417D0.129
Deuteranopia (no green cones)#2946790.112
Tritanopia (no blue cones)#623A4F0.091
Achromatopsia (no color)#4545450.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #642B7B

    #642B7B

    oklch(40.6% 0.138 314.9)

  • #2A5600

    #2A5600

    oklch(40.5% 0.118 134.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #642B7B

    #642B7B

    oklch(40.6% 0.138 314.9)

  • #45388F

    #45388F

    oklch(40.6% 0.138 285.3)

  • #79205A

    #79205A

    oklch(40.6% 0.138 345)

Open the analogous palette in the generator

Split complementary

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

  • #642B7B

    #642B7B

    oklch(40.6% 0.138 314.9)

  • #504B00

    #504B00

    oklch(40.5% 0.086 105.2)

  • #00573D

    #00573D

    oklch(40.5% 0.085 164.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #642B7B

    #642B7B

    oklch(40.6% 0.138 314.9)

  • #644100

    #644100

    oklch(40.6% 0.086 74.5)

  • #005555

    #005555

    oklch(40.7% 0.069 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #642B7B

    #642B7B

    oklch(40.6% 0.138 314.9)

  • #7A2F00

    #7A2F00

    oklch(40.7% 0.116 45)

  • #2A5600

    #2A5600

    oklch(40.5% 0.118 134.8)

  • #005168

    #005168

    oklch(40.5% 0.077 225.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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