#56397A

Closest named color: Dark Slate Blue (#483D8B). oklch(40.9% 0.108 302.5), rgb(86, 57, 122).

Aa

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

About this color

#56397A is a dark, moderately saturated purple. In OKLCH its lightness is 41%, its chroma 0.108 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.037 away. White text reads best on it, at 9.28:1.

Hue familyPurples
Lightnessdark (41%)
Chromamoderately saturated (0.108)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.26:1
White text9.28:1

Values

HEX#56397A
RGBrgb(86, 57, 122)
HSLhsl(267, 36%, 35%)
OKLCHoklch(40.9% 0.108 302.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 #56397A 9.28:1 AAA Lc -95.6 Preferred for body text
Black text on #56397A 2.26:1 Fails Lc 12.8 Not readable
#56397A text on white 9.28:1 AAA Lc 91.2 Preferred for body text
#56397A text on black 2.26:1 Fails Lc -11.1 Not readable

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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #ECE7F4

    oklch(93.6% 0.018 303.4)

  3. Step 200

    200

    #DDD4ED

    oklch(88.5% 0.035 302)

  4. Step 300

    300

    #C8B7E3

    oklch(80.8% 0.064 302.6)

  5. Step 400

    400

    #AD91D5

    oklch(70.7% 0.102 302.8)

  6. Step 500

    500

    #9975CA

    oklch(63.2% 0.129 302.4)

  7. Step 600

    600

    #845CB6

    oklch(55.7% 0.139 302.6)

  8. Step 700

    700

    #704B9D

    oklch(49.2% 0.131 302.7)

  9. Step 800

    800 (this color)

    #56397A

    oklch(40.9% 0.108 302.5)

  10. Step 900

    900

    #4A3566

    oklch(37.6% 0.084 302.3)

  11. Step 950

    950

    #2C203C

    oklch(27.2% 0.053 302.8)

Export this scale for Tailwind in the Tailwind colors tool

#56397A 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)#24477C0.078
Deuteranopia (no green cones)#2C47780.072
Tritanopia (no blue cones)#4F45540.081
Achromatopsia (no color)#4747470.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #56397A

    #56397A

    oklch(40.9% 0.108 302.5)

  • #415200

    #415200

    oklch(40.9% 0.1 122.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #56397A

    #56397A

    oklch(40.9% 0.108 302.5)

  • #374484

    #374484

    oklch(41% 0.108 272.2)

  • #6B3063

    #6B3063

    oklch(40.8% 0.109 332.8)

Open the analogous palette in the generator

Split complementary

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

  • #56397A

    #56397A

    oklch(40.9% 0.108 302.5)

  • #5A4800

    #5A4800

    oklch(40.9% 0.084 92.4)

  • #005A2C

    #005A2C

    oklch(41% 0.107 152.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #56397A

    #56397A

    oklch(40.9% 0.108 302.5)

  • #6D3D00

    #6D3D00

    oklch(41% 0.093 63.1)

  • #00574E

    #00574E

    oklch(41% 0.073 182.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #56397A

    #56397A

    oklch(40.9% 0.108 302.5)

  • #7A2F21

    #7A2F21

    oklch(41% 0.108 32.5)

  • #415200

    #415200

    oklch(40.9% 0.1 122.3)

  • #005461

    #005461

    oklch(40.9% 0.072 212.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #56397A 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.