#642A74

Closest named color: Rebecca Purple (#663399). oklch(40% 0.132 318.4), rgb(100, 42, 116).

Aa

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

About this color

#642A74 is a dark, moderately saturated purple. In OKLCH its lightness is 40%, its chroma 0.132 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.063 away. White text reads best on it, at 9.88:1.

Hue familyPurples
Lightnessdark (40%)
Chromamoderately saturated (0.132)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.12:1
White text9.88:1

Values

HEX#642A74
RGBrgb(100, 42, 116)
HSLhsl(287, 47%, 31%)
OKLCHoklch(40% 0.132 318.4)

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 #642A74 9.88:1 AAA Lc -96.6 Preferred for body text
Black text on #642A74 2.12:1 Fails Lc 11.6 Not readable
#642A74 text on white 9.88:1 AAA Lc 92.4 Preferred for body text
#642A74 text on black 2.12:1 Fails Lc -10.0 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E4F6

    oklch(93.5% 0.028 318.7)

  3. Step 200

    200

    #E9CEF1

    oklch(88.5% 0.055 318.4)

  4. Step 300

    300

    #DCADEA

    oklch(81% 0.098 318.3)

  5. Step 400

    400

    #C97EDF

    oklch(70.7% 0.157 318.3)

  6. Step 500

    500

    #BB58D6

    oklch(63.2% 0.201 318.5)

  7. Step 600

    600

    #A636C3

    oklch(55.6% 0.219 318.5)

  8. Step 700

    700

    #8E26A8

    oklch(49% 0.204 318.5)

  9. Step 800

    800

    #732388

    oklch(42.6% 0.168 318.3)

  10. Step 900

    900 (this color)

    #642A74

    oklch(40% 0.132 318.4)

  11. Step 950

    950

    #371640

    oklch(27% 0.084 318.6)

Export this scale for Tailwind in the Tailwind colors tool

#642A74 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)#163F760.126
Deuteranopia (no green cones)#2E45720.109
Tritanopia (no blue cones)#64364B0.082
Achromatopsia (no color)#4343430.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #642A74

    #642A74

    oklch(40% 0.132 318.4)

  • #1E5600

    #1E5600

    oklch(40% 0.124 138.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #642A74

    #642A74

    oklch(40% 0.132 318.4)

  • #473689

    #473689

    oklch(39.9% 0.132 288.3)

  • #772053

    #772053

    oklch(40% 0.132 348.7)

Open the analogous palette in the generator

Split complementary

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

  • #642A74

    #642A74

    oklch(40% 0.132 318.4)

  • #4C4B00

    #4C4B00

    oklch(40.1% 0.087 108.9)

  • #00553F

    #00553F

    oklch(39.9% 0.081 168)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #642A74

    #642A74

    oklch(40% 0.132 318.4)

  • #604100

    #604100

    oklch(40% 0.083 78.1)

  • #005255

    #005255

    oklch(39.8% 0.068 199.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #642A74

    #642A74

    oklch(40% 0.132 318.4)

  • #743100

    #743100

    oklch(40% 0.108 48.4)

  • #1E5600

    #1E5600

    oklch(40% 0.124 138.3)

  • #004F69

    #004F69

    oklch(40% 0.079 228.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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