#64227A

Closest named color: Rebecca Purple (#663399). oklch(39.4% 0.15 316.4), rgb(100, 34, 122).

Aa

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

About this color

#64227A is a dark, vivid purple. In OKLCH its lightness is 39%, its chroma 0.150 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.059 away. White text reads best on it, at 10.23:1.

Hue familyPurples
Lightnessdark (39%)
Chromavivid (0.150)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.05:1
White text10.23:1

Values

HEX#64227A
RGBrgb(100, 34, 122)
HSLhsl(285, 56%, 31%)
OKLCHoklch(39.4% 0.15 316.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 #64227A 10.23:1 AAA Lc -97.1 Preferred for body text
Black text on #64227A 2.05:1 Fails Lc 11.0 Not readable
#64227A text on white 10.23:1 AAA Lc 93.0 Preferred for body text
#64227A text on black 2.05:1 Fails Lc -9.5 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

    #F3E4F9

    oklch(93.7% 0.032 316.4)

  3. Step 200

    200

    #EACDF5

    oklch(88.5% 0.062 316.7)

  4. Step 300

    300

    #DDAAF1

    oklch(80.8% 0.112 316.3)

  5. Step 400

    400

    #CC78EA

    oklch(70.7% 0.18 316.6)

  6. Step 500

    500

    #BD4EE3

    oklch(63.1% 0.228 316.3)

  7. Step 600

    600

    #A924D1

    oklch(55.6% 0.249 316.4)

  8. Step 700

    700

    #9110B5

    oklch(49.1% 0.232 316.4)

  9. Step 800

    800

    #761593

    oklch(42.8% 0.193 316.4)

  10. Step 900

    900 (this color)

    #64227A

    oklch(39.4% 0.15 316.4)

  11. Step 950

    950

    #381344

    oklch(27% 0.094 316.9)

Export this scale for Tailwind in the Tailwind colors tool

#64227A 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)#003D7D0.143
Deuteranopia (no green cones)#2243780.127
Tritanopia (no blue cones)#63334B0.096
Achromatopsia (no color)#4141410.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #64227A

    #64227A

    oklch(39.4% 0.15 316.4)

  • #245300

    #245300

    oklch(39.3% 0.118 136.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #64227A

    #64227A

    oklch(39.4% 0.15 316.4)

  • #443190

    #443190

    oklch(39.3% 0.149 286.6)

  • #791356

    #791356

    oklch(39.3% 0.15 346.3)

Open the analogous palette in the generator

Split complementary

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

  • #64227A

    #64227A

    oklch(39.4% 0.15 316.4)

  • #4C4800

    #4C4800

    oklch(39.3% 0.084 106)

  • #00533C

    #00533C

    oklch(39.2% 0.081 166.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #64227A

    #64227A

    oklch(39.4% 0.15 316.4)

  • #5F3F00

    #5F3F00

    oklch(39.4% 0.083 76.4)

  • #005152

    #005152

    oklch(39.4% 0.067 196.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #64227A

    #64227A

    oklch(39.4% 0.15 316.4)

  • #732E00

    #732E00

    oklch(39.3% 0.11 46.5)

  • #245300

    #245300

    oklch(39.3% 0.118 136.3)

  • #004E65

    #004E65

    oklch(39.5% 0.075 225.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #64227A 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.