#642166

Closest named color: Grape Purple (#5D1451). oklch(37.9% 0.131 326.6), rgb(100, 33, 102).

Aa

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

About this color

#642166 is a dark, moderately saturated purple. In OKLCH its lightness is 38%, its chroma 0.131 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.043 away. White text reads best on it, at 10.76:1.

Hue familyPurples
Lightnessdark (38%)
Chromamoderately saturated (0.131)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.95:1
White text10.76:1

Values

HEX#642166
RGBrgb(100, 33, 102)
HSLhsl(298, 51%, 26%)
OKLCHoklch(37.9% 0.131 326.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 #642166 10.76:1 AAA Lc -98.2 Preferred for body text
Black text on #642166 1.95:1 Fails Lc 9.7 Not readable
#642166 text on white 10.76:1 AAA Lc 94.2 Preferred for body text
#642166 text on black 1.95:1 Fails Lc -8.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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F5E4F4

    oklch(93.7% 0.028 327.6)

  3. Step 200

    200

    #EDCDED

    oklch(88.5% 0.055 326)

  4. Step 300

    300

    #E3AAE2

    oklch(80.8% 0.099 327)

  5. Step 400

    400

    #D37AD4

    oklch(70.7% 0.159 326.7)

  6. Step 500

    500

    #C553C8

    oklch(63.1% 0.201 326.6)

  7. Step 600

    600

    #B02FB5

    oklch(55.6% 0.22 326.4)

  8. Step 700

    700

    #971F9B

    oklch(49% 0.204 326.7)

  9. Step 800

    800

    #7B1E7E

    oklch(42.7% 0.169 326.7)

  10. Step 900

    900 (this color)

    #642166

    oklch(37.9% 0.131 326.6)

  11. Step 950

    950

    #3A143B

    oklch(26.9% 0.083 326.6)

Export this scale for Tailwind in the Tailwind colors tool

#642166 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)#1638680.136
Deuteranopia (no green cones)#3041640.117
Tritanopia (no blue cones)#672B400.076
Achromatopsia (no color)#3E3E3E0.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #642166

    #642166

    oklch(37.9% 0.131 326.6)

  • #005118

    #005118

    oklch(37.9% 0.113 146.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #642166

    #642166

    oklch(37.9% 0.131 326.6)

  • #4B2D7E

    #4B2D7E

    oklch(37.9% 0.131 296.7)

  • #741844

    #741844

    oklch(38% 0.131 356.5)

Open the analogous palette in the generator

Split complementary

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

  • #642166

    #642166

    oklch(37.9% 0.131 326.6)

  • #404700

    #404700

    oklch(37.8% 0.086 116)

  • #004E41

    #004E41

    oklch(37.9% 0.071 176.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #642166

    #642166

    oklch(37.9% 0.131 326.6)

  • #543F00

    #543F00

    oklch(38% 0.078 87.2)

  • #004C53

    #004C53

    oklch(38% 0.065 205.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #642166

    #642166

    oklch(37.9% 0.131 326.6)

  • #663300

    #663300

    oklch(38% 0.092 56.8)

  • #005118

    #005118

    oklch(37.9% 0.113 146.7)

  • #004868

    #004868

    oklch(38% 0.082 236.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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