#642255

Closest named color: Grape Purple (#5D1451). oklch(37.1% 0.115 337.7), rgb(100, 34, 85).

Aa

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

About this color

#642255 is a dark, moderately saturated purple. In OKLCH its lightness is 37%, its chroma 0.115 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.032 away. White text reads best on it, at 11.04:1.

Hue familyPurples
Lightnessdark (37%)
Chromamoderately saturated (0.115)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.90:1
White text11.04:1

Values

HEX#642255
RGBrgb(100, 34, 85)
HSLhsl(314, 49%, 26%)
OKLCHoklch(37.1% 0.115 337.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 #642255 11.04:1 AAA Lc -98.8 Preferred for body text
Black text on #642255 1.90:1 Fails Lc 9.0 Not readable
#642255 text on white 11.04:1 AAA Lc 94.9 Preferred for body text
#642255 text on black 1.90:1 Fails Lc -7.7 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

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F6E4F0

    oklch(93.7% 0.025 337.8)

  3. Step 200

    200

    #EFCEE4

    oklch(88.6% 0.047 338.3)

  4. Step 300

    300

    #E6ABD4

    oklch(80.8% 0.087 338)

  5. Step 400

    400

    #D77DBF

    oklch(70.8% 0.138 337.7)

  6. Step 500

    500

    #CA58AE

    oklch(63.2% 0.176 338)

  7. Step 600

    600

    #B5389A

    oklch(55.6% 0.192 337.7)

  8. Step 700

    700

    #9B2983

    oklch(49.1% 0.178 337.8)

  9. Step 800

    800

    #7E246B

    oklch(42.7% 0.148 337.5)

  10. Step 900

    900 (this color)

    #642255

    oklch(37.1% 0.115 337.7)

  11. Step 950

    950

    #3C1633

    oklch(27% 0.073 337.5)

Export this scale for Tailwind in the Tailwind colors tool

#642255 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)#2435570.122
Deuteranopia (no green cones)#3840530.109
Tritanopia (no blue cones)#6925380.055
Achromatopsia (no color)#3C3C3C0.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #642255

    #642255

    oklch(37.1% 0.115 337.7)

  • #004D2D

    #004D2D

    oklch(37% 0.087 157.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #642255

    #642255

    oklch(37.1% 0.115 337.7)

  • #512B6E

    #512B6E

    oklch(37.2% 0.115 307.9)

  • #6F1D35

    #6F1D35

    oklch(37.1% 0.116 7.3)

Open the analogous palette in the generator

Split complementary

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

  • #642255

    #642255

    oklch(37.1% 0.115 337.7)

  • #314900

    #314900

    oklch(37.2% 0.097 127.9)

  • #004B46

    #004B46

    oklch(37.2% 0.065 187.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #642255

    #642255

    oklch(37.1% 0.115 337.7)

  • #4B4000

    #4B4000

    oklch(37.2% 0.077 98.2)

  • #004857

    #004857

    oklch(37.1% 0.066 217.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #642255

    #642255

    oklch(37.1% 0.115 337.7)

  • #5C3600

    #5C3600

    oklch(37.1% 0.082 67.4)

  • #004D2D

    #004D2D

    oklch(37% 0.087 157.7)

  • #004271

    #004271

    oklch(37% 0.099 247.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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