#562E71

Closest named color: Dark Slate Blue (#483D8B). oklch(38.5% 0.115 309.6), rgb(86, 46, 113).

Aa

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

About this color

#562E71 is a dark, moderately saturated purple. In OKLCH its lightness is 38%, its chroma 0.115 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.058 away. White text reads best on it, at 10.37:1.

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

Values

HEX#562E71
RGBrgb(86, 46, 113)
HSLhsl(276, 42%, 31%)
OKLCHoklch(38.5% 0.115 309.6)

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 #562E71 10.37:1 AAA Lc -97.8 Preferred for body text
Black text on #562E71 2.02:1 Fails Lc 10.2 Not readable
#562E71 text on white 10.37:1 AAA Lc 93.7 Preferred for body text
#562E71 text on black 2.02:1 Fails Lc -8.8 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

    #F8F3FB

    oklch(97% 0.012 313.2)

  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

    #D1B2EB

    oklch(80.9% 0.085 309.2)

  5. Step 400

    400

    #BA87E1

    oklch(70.7% 0.138 309.3)

  6. Step 500

    500

    #A965D8

    oklch(63% 0.177 309.5)

  7. Step 600

    600

    #9548C6

    oklch(55.6% 0.193 309.6)

  8. Step 700

    700

    #7F39AB

    oklch(49.2% 0.179 309.6)

  9. Step 800

    800

    #67308A

    oklch(42.7% 0.148 309.7)

  10. Step 900

    900 (this color)

    #562E71

    oklch(38.5% 0.115 309.6)

  11. Step 950

    950

    #311A41

    oklch(26.9% 0.074 309.5)

Export this scale for Tailwind in the Tailwind colors tool

#562E71 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)#183E730.098
Deuteranopia (no green cones)#27416F0.087
Tritanopia (no blue cones)#523A4B0.080
Achromatopsia (no color)#4040400.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #562E71

    #562E71

    oklch(38.5% 0.115 309.6)

  • #314E00

    #314E00

    oklch(38.6% 0.104 129.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #562E71

    #562E71

    oklch(38.5% 0.115 309.6)

  • #39397F

    #39397F

    oklch(38.5% 0.115 279.5)

  • #692557

    #692557

    oklch(38.4% 0.116 339.4)

Open the analogous palette in the generator

Split complementary

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

  • #562E71

    #562E71

    oklch(38.5% 0.115 309.6)

  • #4E4400

    #4E4400

    oklch(38.5% 0.08 99.8)

  • #005132

    #005132

    oklch(38.4% 0.088 159.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #562E71

    #562E71

    oklch(38.5% 0.115 309.6)

  • #603A00

    #603A00

    oklch(38.5% 0.084 69.2)

  • #004F4B

    #004F4B

    oklch(38.6% 0.067 188.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #562E71

    #562E71

    oklch(38.5% 0.115 309.6)

  • #742707

    #742707

    oklch(38.5% 0.115 39.5)

  • #314E00

    #314E00

    oklch(38.6% 0.104 129.8)

  • #004C5D

    #004C5D

    oklch(38.5% 0.07 219.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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