#5645A1

Closest named color: Blueberry (#464196). oklch(45.8% 0.143 287.9), rgb(86, 69, 161).

Aa

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

About this color

#5645A1 is a medium-dark, vivid purple. In OKLCH its lightness is 46%, its chroma 0.143 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.034 away. White text reads best on it, at 7.60:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromavivid (0.143)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.76:1
White text7.60:1

Values

HEX#5645A1
RGBrgb(86, 69, 161)
HSLhsl(251, 40%, 45%)
OKLCHoklch(45.8% 0.143 287.9)

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 #5645A1 7.60:1 AAA Lc -90.9 Preferred for body text
Black text on #5645A1 2.76:1 Fails Lc 17.9 Dividers and decoration only
#5645A1 text on white 7.60:1 AAA Lc 86.1 Fine for body text
#5645A1 text on black 2.76:1 Fails Lc -15.9 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 800.

  1. Step 50

    50

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E8E8FA

    oklch(93.6% 0.024 285.9)

  3. Step 200

    200

    #D7D5F7

    oklch(88.5% 0.047 288.1)

  4. Step 300

    300

    #BDB9F4

    oklch(81% 0.083 287.5)

  5. Step 400

    400

    #9D92EF

    oklch(70.7% 0.134 287.9)

  6. Step 500

    500

    #8774E9

    oklch(63.2% 0.17 288)

  7. Step 600

    600

    #7259D7

    oklch(55.6% 0.185 288)

  8. Step 700

    700

    #6048BB

    oklch(49.1% 0.173 287.9)

  9. Step 800

    800 (this color)

    #5645A1

    oklch(45.8% 0.143 287.9)

  10. Step 900

    900

    #403478

    oklch(37.6% 0.112 287.9)

  11. Step 950

    950

    #251F46

    oklch(26.9% 0.07 287.8)

Export this scale for Tailwind in the Tailwind colors tool

#5645A1 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)#0C56A40.081
Deuteranopia (no green cones)#0D519F0.080
Tritanopia (no blue cones)#3E596C0.118
Achromatopsia (no color)#5454540.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #5645A1

    #5645A1

    oklch(45.8% 0.143 287.9)

  • #5D5B00

    #5D5B00

    oklch(45.8% 0.099 108.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5645A1

    #5645A1

    oklch(45.8% 0.143 287.9)

  • #1A54A5

    #1A54A5

    oklch(45.7% 0.144 258)

  • #77378A

    #77378A

    oklch(45.7% 0.144 317.9)

Open the analogous palette in the generator

Split complementary

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

  • #5645A1

    #5645A1

    oklch(45.8% 0.143 287.9)

  • #744F00

    #744F00

    oklch(45.7% 0.095 77.7)

  • #286800

    #286800

    oklch(45.7% 0.141 137.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5645A1

    #5645A1

    oklch(45.8% 0.143 287.9)

  • #8D3C00

    #8D3C00

    oklch(45.8% 0.125 47.7)

  • #00674D

    #00674D

    oklch(45.6% 0.092 168)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5645A1

    #5645A1

    oklch(45.8% 0.143 287.9)

  • #972A38

    #972A38

    oklch(45.8% 0.144 17.8)

  • #5D5B00

    #5D5B00

    oklch(45.8% 0.099 108.3)

  • #006467

    #006467

    oklch(45.7% 0.078 198.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5645A1 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.