#642277

Closest named color: Rebecca Purple (#663399). oklch(39.2% 0.147 317.7), rgb(100, 34, 119).

Aa

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

About this color

#642277 is a dark, vivid purple. In OKLCH its lightness is 39%, its chroma 0.147 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 10.30:1.

Hue familyPurples
Lightnessdark (39%)
Chromavivid (0.147)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.03:1
White text10.30:1

Values

HEX#642277
RGBrgb(100, 34, 119)
HSLhsl(287, 56%, 30%)
OKLCHoklch(39.2% 0.147 317.7)

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 #642277 10.30:1 AAA Lc -97.3 Preferred for body text
Black text on #642277 2.03:1 Fails Lc 10.8 Not readable
#642277 text on white 10.30:1 AAA Lc 93.2 Preferred for body text
#642277 text on black 2.03:1 Fails Lc -9.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 900.

  1. Step 50

    50

    #FAF3FC

    oklch(97.2% 0.014 318.7)

  2. Step 100

    100

    #F3E4F8

    oklch(93.7% 0.031 317.7)

  3. Step 200

    200

    #EACDF4

    oklch(88.5% 0.061 317.4)

  4. Step 300

    300

    #DEAAEF

    oklch(80.9% 0.11 317.7)

  5. Step 400

    400

    #CD79E7

    oklch(70.8% 0.176 317.8)

  6. Step 500

    500

    #BF4FDF

    oklch(63.2% 0.224 318)

  7. Step 600

    600

    #AA26CD

    oklch(55.6% 0.244 317.7)

  8. Step 700

    700

    #9213B1

    oklch(49.1% 0.227 317.9)

  9. Step 800

    800

    #761790

    oklch(42.7% 0.188 317.4)

  10. Step 900

    900 (this color)

    #642277

    oklch(39.2% 0.147 317.7)

  11. Step 950

    950

    #381343

    oklch(26.9% 0.093 317.7)

Export this scale for Tailwind in the Tailwind colors tool

#642277 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)#003C790.144
Deuteranopia (no green cones)#2542750.124
Tritanopia (no blue cones)#63324A0.092
Achromatopsia (no color)#4040400.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #642277

    #642277

    oklch(39.2% 0.147 317.7)

  • #1F5300

    #1F5300

    oklch(39.1% 0.12 137.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #642277

    #642277

    oklch(39.2% 0.147 317.7)

  • #45318E

    #45318E

    oklch(39.3% 0.146 287.6)

  • #781453

    #781453

    oklch(39.1% 0.146 347.8)

Open the analogous palette in the generator

Split complementary

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

  • #642277

    #642277

    oklch(39.2% 0.147 317.7)

  • #4A4800

    #4A4800

    oklch(39.1% 0.084 107.9)

  • #00533D

    #00533D

    oklch(39.3% 0.08 167.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #642277

    #642277

    oklch(39.2% 0.147 317.7)

  • #5D3F00

    #5D3F00

    oklch(39.2% 0.082 78.3)

  • #005052

    #005052

    oklch(39.1% 0.067 197.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #642277

    #642277

    oklch(39.2% 0.147 317.7)

  • #712F00

    #712F00

    oklch(39.1% 0.107 48)

  • #1F5300

    #1F5300

    oklch(39.1% 0.12 137.7)

  • #004D65

    #004D65

    oklch(39.2% 0.076 227.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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