#564D8B

Closest named color: Twilight (#4E518B). oklch(45.8% 0.099 288.5), rgb(86, 77, 139).

Aa

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

About this color

#564D8B is a medium-dark, moderately saturated purple. In OKLCH its lightness is 46%, its chroma 0.099 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.016 away. White text reads best on it, at 7.42:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.099)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.83:1
White text7.42:1

Values

HEX#564D8B
RGBrgb(86, 77, 139)
HSLhsl(249, 29%, 42%)
OKLCHoklch(45.8% 0.099 288.5)

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 #564D8B 7.42:1 AAA Lc -90.5 Preferred for body text
Black text on #564D8B 2.83:1 Fails Lc 18.3 Dividers and decoration only
#564D8B text on white 7.42:1 AAA Lc 85.7 Fine for body text
#564D8B text on black 2.83:1 Fails Lc -16.4 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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E9E8F5

    oklch(93.6% 0.017 289.6)

  3. Step 200

    200

    #D8D6EE

    oklch(88.5% 0.033 289.5)

  4. Step 300

    300

    #BEBBE4

    oklch(80.8% 0.057 288.4)

  5. Step 400

    400

    #9E97D7

    oklch(70.6% 0.093 288.8)

  6. Step 500

    500

    #877DCC

    oklch(63.2% 0.117 288.4)

  7. Step 600

    600

    #7164B9

    oklch(55.5% 0.129 288.5)

  8. Step 700

    700

    #5F53A0

    oklch(49.1% 0.12 288.3)

  9. Step 800

    800 (this color)

    #564D8B

    oklch(45.8% 0.099 288.5)

  10. Step 900

    900

    #403A68

    oklch(37.7% 0.077 288.1)

  11. Step 950

    950

    #26223D

    oklch(27% 0.049 289.5)

Export this scale for Tailwind in the Tailwind colors tool

#564D8B 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)#38578D0.047
Deuteranopia (no green cones)#38548A0.045
Tritanopia (no blue cones)#4859650.083
Achromatopsia (no color)#5555550.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #564D8B

    #564D8B

    oklch(45.8% 0.099 288.5)

  • #5D5B00

    #5D5B00

    oklch(45.8% 0.099 108.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #564D8B

    #564D8B

    oklch(45.8% 0.099 288.5)

  • #33578E

    #33578E

    oklch(45.7% 0.099 258.6)

  • #6F447B

    #6F447B

    oklch(45.9% 0.1 318.7)

Open the analogous palette in the generator

Split complementary

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

  • #564D8B

    #564D8B

    oklch(45.8% 0.099 288.5)

  • #745000

    #745000

    oklch(45.9% 0.095 78.7)

  • #39642B

    #39642B

    oklch(45.7% 0.099 138.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #564D8B

    #564D8B

    oklch(45.8% 0.099 288.5)

  • #834420

    #834420

    oklch(45.8% 0.099 48.1)

  • #00684E

    #00684E

    oklch(45.9% 0.093 168.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #564D8B

    #564D8B

    oklch(45.8% 0.099 288.5)

  • #863E42

    #863E42

    oklch(45.9% 0.099 18.3)

  • #5D5B00

    #5D5B00

    oklch(45.8% 0.099 108.3)

  • #006468

    #006468

    oklch(45.7% 0.078 199.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #564D8B 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.