#642381

Closest named color: Rebecca Purple (#663399). oklch(40% 0.155 313.3), rgb(100, 35, 129).

Aa

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

About this color

#642381 is a dark, vivid purple. In OKLCH its lightness is 40%, its chroma 0.155 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.049 away. White text reads best on it, at 10.00:1.

Hue familyPurples
Lightnessdark (40%)
Chromavivid (0.155)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.09:1
White text10.00:1

Values

HEX#642381
RGBrgb(100, 35, 129)
HSLhsl(281, 57%, 32%)
OKLCHoklch(40% 0.155 313.3)

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 #642381 10.00:1 AAA Lc -96.6 Preferred for body text
Black text on #642381 2.09:1 Fails Lc 11.5 Not readable
#642381 text on white 10.00:1 AAA Lc 92.4 Preferred for body text
#642381 text on black 2.09: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

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F2E4FA

    oklch(93.6% 0.033 313.5)

  3. Step 200

    200

    #E8CDF8

    oklch(88.4% 0.065 312.9)

  4. Step 300

    300

    #DBAAF6

    oklch(80.9% 0.117 313.2)

  5. Step 400

    400

    #C978F1

    oklch(70.7% 0.186 313.5)

  6. Step 500

    500

    #BA4CEC

    oklch(63% 0.238 313.2)

  7. Step 600

    600

    #A61FDA

    oklch(55.6% 0.258 313.3)

  8. Step 700

    700

    #8E07BD

    oklch(49% 0.24 313.3)

  9. Step 800

    800

    #741299

    oklch(42.8% 0.199 313.5)

  10. Step 900

    900 (this color)

    #642381

    oklch(40% 0.155 313.3)

  11. Step 950

    950

    #371247

    oklch(26.9% 0.099 313.9)

Export this scale for Tailwind in the Tailwind colors tool

#642381 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)#003F840.140
Deuteranopia (no green cones)#1B447F0.130
Tritanopia (no blue cones)#61374F0.104
Achromatopsia (no color)#4242420.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #642381

    #642381

    oklch(40% 0.155 313.3)

  • #2D5400

    #2D5400

    oklch(40.1% 0.114 133.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #642381

    #642381

    oklch(40% 0.155 313.3)

  • #413396

    #413396

    oklch(39.9% 0.155 283.3)

  • #7B135D

    #7B135D

    oklch(40% 0.155 343.1)

Open the analogous palette in the generator

Split complementary

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

  • #642381

    #642381

    oklch(40% 0.155 313.3)

  • #504900

    #504900

    oklch(40% 0.084 103.2)

  • #00563A

    #00563A

    oklch(40.1% 0.087 162.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #642381

    #642381

    oklch(40% 0.155 313.3)

  • #633F00

    #633F00

    oklch(40% 0.085 72.9)

  • #005352

    #005352

    oklch(40% 0.068 193.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #642381

    #642381

    oklch(40% 0.155 313.3)

  • #792C00

    #792C00

    oklch(40.1% 0.118 43.4)

  • #2D5400

    #2D5400

    oklch(40.1% 0.114 133.3)

  • #005065

    #005065

    oklch(40% 0.075 223.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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