#564C8D

Closest named color: Twilight (#4E518B). oklch(45.8% 0.104 288.7), rgb(86, 76, 141).

Aa

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

About this color

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

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

Values

HEX#564C8D
RGBrgb(86, 76, 141)
HSLhsl(249, 30%, 43%)
OKLCHoklch(45.8% 0.104 288.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 #564C8D 7.46:1 AAA Lc -90.6 Preferred for body text
Black text on #564C8D 2.81:1 Fails Lc 18.2 Dividers and decoration only
#564C8D text on white 7.46:1 AAA Lc 85.8 Fine for body text
#564C8D text on black 2.81:1 Fails Lc -16.2 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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E9E8F5

    oklch(93.6% 0.017 289.6)

  3. Step 200

    200

    #D8D6EF

    oklch(88.5% 0.034 289.4)

  4. Step 300

    300

    #BEBBE6

    oklch(80.9% 0.06 288.2)

  5. Step 400

    400

    #9E97DA

    oklch(70.8% 0.097 288.4)

  6. Step 500

    500

    #877CCF

    oklch(63.1% 0.123 288.4)

  7. Step 600

    600

    #7263BC

    oklch(55.5% 0.135 289)

  8. Step 700

    700

    #5F52A2

    oklch(49.1% 0.124 288.4)

  9. Step 800

    800 (this color)

    #564C8D

    oklch(45.8% 0.104 288.7)

  10. Step 900

    900

    #403969

    oklch(37.6% 0.081 288.6)

  11. Step 950

    950

    #26223E

    oklch(27.1% 0.051 289.1)

Export this scale for Tailwind in the Tailwind colors tool

#564C8D 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)#35568F0.050
Deuteranopia (no green cones)#35538B0.048
Tritanopia (no blue cones)#4759650.088
Achromatopsia (no color)#5555550.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #564C8D

    #564C8D

    oklch(45.8% 0.104 288.7)

  • #5C5B00

    #5C5B00

    oklch(45.7% 0.099 109)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #564C8D

    #564C8D

    oklch(45.8% 0.104 288.7)

  • #315790

    #315790

    oklch(45.8% 0.103 258.3)

  • #6F437C

    #6F437C

    oklch(45.8% 0.103 318.2)

Open the analogous palette in the generator

Split complementary

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

  • #564C8D

    #564C8D

    oklch(45.8% 0.104 288.7)

  • #745000

    #745000

    oklch(45.9% 0.095 78.7)

  • #376528

    #376528

    oklch(45.9% 0.104 138.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #564C8D

    #564C8D

    oklch(45.8% 0.104 288.7)

  • #84431B

    #84431B

    oklch(45.7% 0.103 49.1)

  • #00674E

    #00674E

    oklch(45.7% 0.092 168.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #564C8D

    #564C8D

    oklch(45.8% 0.104 288.7)

  • #883C40

    #883C40

    oklch(45.8% 0.104 18.9)

  • #5C5B00

    #5C5B00

    oklch(45.7% 0.099 109)

  • #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 #564C8D, closest first.

Similar named colors

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

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