#645A97

Closest named color: Dusky Blue (#475F94). oklch(50.4% 0.096 290.1), rgb(100, 90, 151).

Aa

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

About this color

#645A97 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 50%, its chroma 0.096 and its hue 290°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dusky Blue (#475F94), ΔE 0.043 away. White text reads best on it, at 6.08:1.

Hue familyPurples
Lightnessmedium-dark (50%)
Chromamoderately saturated (0.096)
Temperaturein between
Nearest nameDusky Blue (#475F94)
Black text3.45:1
White text6.08:1

Values

HEX#645A97
RGBrgb(100, 90, 151)
HSLhsl(250, 25%, 47%)
OKLCHoklch(50.4% 0.096 290.1)

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 #645A97 6.08:1 AA Lc -85.5 Fine for body text
Black text on #645A97 3.45:1 AA large text Lc 23.7 Dividers and decoration only
#645A97 text on white 6.08:1 AA Lc 80.3 Fine for body text
#645A97 text on black 3.45:1 AA large text Lc -21.5 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E9E8F2

    oklch(93.5% 0.013 290.7)

  3. Step 200

    200

    #D8D7E9

    oklch(88.5% 0.025 288.4)

  4. Step 300

    300

    #C0BCDD

    oklch(80.9% 0.046 290.9)

  5. Step 400

    400

    #9F99CC

    oklch(70.6% 0.074 289.8)

  6. Step 500

    500

    #897FBF

    oklch(63.1% 0.095 290.6)

  7. Step 600

    600

    #7368AB

    oklch(55.6% 0.103 290.2)

  8. Step 700

    700 (this color)

    #645A97

    oklch(50.4% 0.096 290.1)

  9. Step 800

    800

    #4F4777

    oklch(42.8% 0.078 290.3)

  10. Step 900

    900

    #413C60

    oklch(37.8% 0.061 289.5)

  11. Step 950

    950

    #262338

    oklch(27% 0.039 290.1)

Export this scale for Tailwind in the Tailwind colors tool

#645A97 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)#4763990.045
Deuteranopia (no green cones)#4861950.043
Tritanopia (no blue cones)#5865710.080
Achromatopsia (no color)#6262620.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #645A97

    #645A97

    oklch(50.4% 0.096 290.1)

  • #68691E

    #68691E

    oklch(50.5% 0.095 110.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #645A97

    #645A97

    oklch(50.4% 0.096 290.1)

  • #43649B

    #43649B

    oklch(50.4% 0.096 260.2)

  • #7C5186

    #7C5186

    oklch(50.3% 0.096 319.9)

Open the analogous palette in the generator

Split complementary

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

  • #645A97

    #645A97

    oklch(50.4% 0.096 290.1)

  • #815D16

    #815D16

    oklch(50.4% 0.095 79.4)

  • #45723B

    #45723B

    oklch(50.5% 0.097 140)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #645A97

    #645A97

    oklch(50.4% 0.096 290.1)

  • #8F532E

    #8F532E

    oklch(50.4% 0.095 50.8)

  • #10765C

    #10765C

    oklch(50.5% 0.096 169.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #645A97

    #645A97

    oklch(50.4% 0.096 290.1)

  • #934C4D

    #934C4D

    oklch(50.3% 0.096 20.2)

  • #68691E

    #68691E

    oklch(50.5% 0.095 110.1)

  • #007378

    #007378

    oklch(50.5% 0.086 200.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #645A97 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.