#642876

Closest named color: Rebecca Purple (#663399). oklch(39.8% 0.137 317.6), rgb(100, 40, 118).

Aa

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

About this color

#642876 is a dark, moderately saturated purple. In OKLCH its lightness is 40%, its chroma 0.137 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.061 away. White text reads best on it, at 9.96:1.

Hue familyPurples
Lightnessdark (40%)
Chromamoderately saturated (0.137)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.10:1
White text9.96:1

Values

HEX#642876
RGBrgb(100, 40, 118)
HSLhsl(286, 49%, 31%)
OKLCHoklch(39.8% 0.137 317.6)

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 #642876 9.96:1 AAA Lc -96.7 Preferred for body text
Black text on #642876 2.10:1 Fails Lc 11.4 Not readable
#642876 text on white 9.96:1 AAA Lc 92.5 Preferred for body text
#642876 text on black 2.10:1 Fails Lc -9.9 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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F2E4F7

    oklch(93.6% 0.029 317.2)

  3. Step 200

    200

    #E9CEF2

    oklch(88.5% 0.057 317.7)

  4. Step 300

    300

    #DCACEC

    oklch(80.9% 0.102 317.5)

  5. Step 400

    400

    #CA7CE3

    oklch(70.7% 0.165 317.6)

  6. Step 500

    500

    #BB55DA

    oklch(63.1% 0.21 317.6)

  7. Step 600

    600

    #A732C7

    oklch(55.6% 0.228 317.9)

  8. Step 700

    700

    #8F22AC

    oklch(49.2% 0.211 317.8)

  9. Step 800

    800

    #74208C

    oklch(42.8% 0.176 317.5)

  10. Step 900

    900 (this color)

    #642876

    oklch(39.8% 0.137 317.6)

  11. Step 950

    950

    #371541

    oklch(26.9% 0.087 317.9)

Export this scale for Tailwind in the Tailwind colors tool

#642876 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)#0F3F780.132
Deuteranopia (no green cones)#2B44740.113
Tritanopia (no blue cones)#63364B0.088
Achromatopsia (no color)#4343430.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #642876

    #642876

    oklch(39.8% 0.137 317.6)

  • #205500

    #205500

    oklch(39.8% 0.122 137.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #642876

    #642876

    oklch(39.8% 0.137 317.6)

  • #46358B

    #46358B

    oklch(39.8% 0.137 287.6)

  • #781D54

    #781D54

    oklch(39.9% 0.137 348)

Open the analogous palette in the generator

Split complementary

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

  • #642876

    #642876

    oklch(39.8% 0.137 317.6)

  • #4C4A00

    #4C4A00

    oklch(39.8% 0.086 108)

  • #00553E

    #00553E

    oklch(39.9% 0.082 167.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #642876

    #642876

    oklch(39.8% 0.137 317.6)

  • #604000

    #604000

    oklch(39.8% 0.083 76.8)

  • #005254

    #005254

    oklch(39.8% 0.068 197.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #642876

    #642876

    oklch(39.8% 0.137 317.6)

  • #743000

    #743000

    oklch(39.8% 0.109 47.6)

  • #205500

    #205500

    oklch(39.8% 0.122 137.7)

  • #004F68

    #004F68

    oklch(39.9% 0.078 227.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #642876 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.