#645180

Closest named color: Dusk (#4E5481). oklch(47.4% 0.077 302.1), rgb(100, 81, 128).

Aa

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

About this color

#645180 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 47%, its chroma 0.077 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dusk (#4E5481), ΔE 0.035 away. White text reads best on it, at 6.92:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.077)
Temperaturein between
Nearest nameDusk (#4E5481)
Black text3.03:1
White text6.92:1

Values

HEX#645180
RGBrgb(100, 81, 128)
HSLhsl(264, 22%, 41%)
OKLCHoklch(47.4% 0.077 302.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 #645180 6.92:1 AA Lc -88.9 Fine for body text
Black text on #645180 3.03:1 AA large text Lc 20.1 Dividers and decoration only
#645180 text on white 6.92:1 AA Lc 83.9 Fine for body text
#645180 text on black 3.03:1 AA large text Lc -18.0 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

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #EBE8F0

    oklch(93.6% 0.011 303.1)

  3. Step 200

    200

    #DBD6E5

    oklch(88.5% 0.021 301.1)

  4. Step 300

    300

    #C5BBD5

    oklch(80.8% 0.038 303)

  5. Step 400

    400

    #A798C0

    oklch(70.6% 0.06 302)

  6. Step 500

    500

    #927FB0

    oklch(63.2% 0.075 302.1)

  7. Step 600

    600

    #7C679C

    oklch(55.5% 0.084 301.9)

  8. Step 700

    700 (this color)

    #645180

    oklch(47.4% 0.077 302.1)

  9. Step 800

    800

    #55466C

    oklch(42.6% 0.064 301.9)

  10. Step 900

    900

    #463B58

    oklch(37.6% 0.05 301.4)

  11. Step 950

    950

    #292333

    oklch(27% 0.03 301.6)

Export this scale for Tailwind in the Tailwind colors tool

#645180 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)#4659820.048
Deuteranopia (no green cones)#4A5A7F0.046
Tritanopia (no blue cones)#5F58620.060
Achromatopsia (no color)#5A5A5A0.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #645180

    #645180

    oklch(47.4% 0.077 302.1)

  • #54632F

    #54632F

    oklch(47.4% 0.078 122.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #645180

    #645180

    oklch(47.4% 0.077 302.1)

  • #4D5987

    #4D5987

    oklch(47.4% 0.076 272.1)

  • #754B6F

    #754B6F

    oklch(47.3% 0.077 331.9)

Open the analogous palette in the generator

Split complementary

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

  • #645180

    #645180

    oklch(47.4% 0.077 302.1)

  • #6B5A23

    #6B5A23

    oklch(47.3% 0.077 92)

  • #376846

    #376846

    oklch(47.3% 0.077 152.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #645180

    #645180

    oklch(47.4% 0.077 302.1)

  • #7B512B

    #7B512B

    oklch(47.3% 0.077 61.3)

  • #186A5F

    #186A5F

    oklch(47.4% 0.077 181.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #645180

    #645180

    oklch(47.4% 0.077 302.1)

  • #824B40

    #824B40

    oklch(47.5% 0.077 32.2)

  • #54632F

    #54632F

    oklch(47.4% 0.078 122.7)

  • #136775

    #136775

    oklch(47.4% 0.077 212)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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