#642E81

Closest named color: Rebecca Purple (#663399). oklch(41.4% 0.14 311.8), rgb(100, 46, 129).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (41%)
Chromamoderately saturated (0.140)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.24:1
White text9.33:1

Values

HEX#642E81
RGBrgb(100, 46, 129)
HSLhsl(279, 47%, 34%)
OKLCHoklch(41.4% 0.14 311.8)

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 #642E81 9.33:1 AAA Lc -95.4 Preferred for body text
Black text on #642E81 2.24:1 Fails Lc 12.9 Not readable
#642E81 text on white 9.33:1 AAA Lc 91.0 Preferred for body text
#642E81 text on black 2.24:1 Fails Lc -11.3 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

    #EFE6F6

    oklch(93.7% 0.023 310.7)

  3. Step 200

    200

    #E3D1EF

    oklch(88.4% 0.045 312)

  4. Step 300

    300

    #D2B2E7

    oklch(80.9% 0.081 311.8)

  5. Step 400

    400

    #BC88DB

    oklch(70.8% 0.13 312.1)

  6. Step 500

    500

    #AB67D1

    oklch(63.1% 0.166 312.1)

  7. Step 600

    600

    #964BBE

    oklch(55.6% 0.181 312)

  8. Step 700

    700

    #803BA4

    oklch(49.1% 0.169 312.1)

  9. Step 800

    800 (this color)

    #642E81

    oklch(41.4% 0.14 311.8)

  10. Step 900

    900

    #542D6B

    oklch(37.7% 0.109 311.3)

  11. Step 950

    950

    #311B3E

    oklch(26.9% 0.068 311.6)

Export this scale for Tailwind in the Tailwind colors tool

#642E81 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)#0B44840.126
Deuteranopia (no green cones)#27487F0.111
Tritanopia (no blue cones)#613E530.095
Achromatopsia (no color)#4747470.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #642E81

    #642E81

    oklch(41.4% 0.14 311.8)

  • #335700

    #335700

    oklch(41.3% 0.114 131.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #642E81

    #642E81

    oklch(41.4% 0.14 311.8)

  • #423C94

    #423C94

    oklch(41.4% 0.14 281.5)

  • #7A2260

    #7A2260

    oklch(41.3% 0.14 341.9)

Open the analogous palette in the generator

Split complementary

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

  • #642E81

    #642E81

    oklch(41.4% 0.14 311.8)

  • #554C00

    #554C00

    oklch(41.3% 0.086 101.6)

  • #005A3C

    #005A3C

    oklch(41.3% 0.09 162.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #642E81

    #642E81

    oklch(41.4% 0.14 311.8)

  • #694200

    #694200

    oklch(41.5% 0.089 71.6)

  • #005755

    #005755

    oklch(41.3% 0.071 192.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #642E81

    #642E81

    oklch(41.4% 0.14 311.8)

  • #802C00

    #802C00

    oklch(41.3% 0.125 41.7)

  • #335700

    #335700

    oklch(41.3% 0.114 131.7)

  • #005469

    #005469

    oklch(41.3% 0.076 222.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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