#562D71

Closest named color: Dark Slate Blue (#483D8B). oklch(38.3% 0.117 309.8), rgb(86, 45, 113).

Aa

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

About this color

#562D71 is a dark, moderately saturated purple. In OKLCH its lightness is 38%, its chroma 0.117 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.059 away. White text reads best on it, at 10.45:1.

Hue familyPurples
Lightnessdark (38%)
Chromamoderately saturated (0.117)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.00:1
White text10.45:1

Values

HEX#562D71
RGBrgb(86, 45, 113)
HSLhsl(276, 43%, 31%)
OKLCHoklch(38.3% 0.117 309.8)

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 #562D71 10.45:1 AAA Lc -97.9 Preferred for body text
Black text on #562D71 2.00:1 Fails Lc 10.0 Not readable
#562D71 text on white 10.45:1 AAA Lc 93.9 Preferred for body text
#562D71 text on black 2.00:1 Fails Lc -8.7 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 900.

  1. Step 50

    50

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EFE6F7

    oklch(93.7% 0.025 309.4)

  3. Step 200

    200

    #E3D1F2

    oklch(88.5% 0.049 309.7)

  4. Step 300

    300

    #D2B1EC

    oklch(80.9% 0.089 309.8)

  5. Step 400

    400

    #BB86E2

    oklch(70.7% 0.141 309.7)

  6. Step 500

    500

    #AA64D9

    oklch(63% 0.18 309.8)

  7. Step 600

    600

    #9647C7

    oklch(55.6% 0.196 309.9)

  8. Step 700

    700

    #8037AC

    oklch(49.1% 0.183 309.9)

  9. Step 800

    800

    #682F8B

    oklch(42.7% 0.151 310)

  10. Step 900

    900 (this color)

    #562D71

    oklch(38.3% 0.117 309.8)

  11. Step 950

    950

    #311A41

    oklch(26.9% 0.074 309.5)

Export this scale for Tailwind in the Tailwind colors tool

#562D71 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)#163E730.100
Deuteranopia (no green cones)#26406F0.089
Tritanopia (no blue cones)#52394A0.082
Achromatopsia (no color)#3F3F3F0.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #562D71

    #562D71

    oklch(38.3% 0.117 309.8)

  • #304D00

    #304D00

    oklch(38.2% 0.103 130)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #562D71

    #562D71

    oklch(38.3% 0.117 309.8)

  • #39387F

    #39387F

    oklch(38.3% 0.117 280)

  • #692457

    #692457

    oklch(38.3% 0.117 339.3)

Open the analogous palette in the generator

Split complementary

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

  • #562D71

    #562D71

    oklch(38.3% 0.117 309.8)

  • #4D4400

    #4D4400

    oklch(38.4% 0.08 100.8)

  • #005132

    #005132

    oklch(38.4% 0.088 159.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #562D71

    #562D71

    oklch(38.3% 0.117 309.8)

  • #5F3A00

    #5F3A00

    oklch(38.4% 0.083 70)

  • #004E4B

    #004E4B

    oklch(38.3% 0.066 190.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #562D71

    #562D71

    oklch(38.3% 0.117 309.8)

  • #742604

    #742604

    oklch(38.3% 0.117 39.8)

  • #304D00

    #304D00

    oklch(38.2% 0.103 130)

  • #004B5D

    #004B5D

    oklch(38.2% 0.07 220.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #562D71 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.