#562F84

Closest named color: Dark Slate Blue (#483D8B). oklch(40% 0.138 301.6), rgb(86, 47, 132).

Aa

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

About this color

#562F84 is a dark, moderately saturated purple. In OKLCH its lightness is 40%, its chroma 0.138 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.040 away. White text reads best on it, at 9.83:1.

Hue familyPurples
Lightnessdark (40%)
Chromamoderately saturated (0.138)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.13:1
White text9.83:1

Values

HEX#562F84
RGBrgb(86, 47, 132)
HSLhsl(268, 47%, 35%)
OKLCHoklch(40% 0.138 301.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 #562F84 9.83:1 AAA Lc -96.6 Preferred for body text
Black text on #562F84 2.13:1 Fails Lc 11.6 Not readable
#562F84 text on white 9.83:1 AAA Lc 92.4 Preferred for body text
#562F84 text on black 2.13:1 Fails Lc -10.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 900.

  1. Step 50

    50

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EDE6FB

    oklch(93.7% 0.029 301)

  3. Step 200

    200

    #DFD1FA

    oklch(88.5% 0.058 300.8)

  4. Step 300

    300

    #CCB1F9

    oklch(80.9% 0.103 301.3)

  5. Step 400

    400

    #B485F5

    oklch(70.8% 0.164 301.7)

  6. Step 500

    500

    #A260F1

    oklch(63.1% 0.21 301.6)

  7. Step 600

    600

    #8E40E0

    oklch(55.7% 0.229 301.5)

  8. Step 700

    700

    #792FC2

    oklch(49% 0.213 301.7)

  9. Step 800

    800

    #622A9D

    oklch(42.7% 0.176 301.4)

  10. Step 900

    900 (this color)

    #562F84

    oklch(40% 0.138 301.6)

  11. Step 950

    950

    #2F1949

    oklch(27.1% 0.087 302.1)

Export this scale for Tailwind in the Tailwind colors tool

#562F84 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)#0043870.106
Deuteranopia (no green cones)#1243820.100
Tritanopia (no blue cones)#4D41550.102
Achromatopsia (no color)#4343430.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #562F84

    #562F84

    oklch(40% 0.138 301.6)

  • #404F00

    #404F00

    oklch(40% 0.096 121.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #562F84

    #562F84

    oklch(40% 0.138 301.6)

  • #2F3D90

    #2F3D90

    oklch(39.9% 0.137 271.5)

  • #6F2368

    #6F2368

    oklch(40% 0.137 331.7)

Open the analogous palette in the generator

Split complementary

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

  • #562F84

    #562F84

    oklch(40% 0.138 301.6)

  • #584500

    #584500

    oklch(39.9% 0.082 90.8)

  • #005728

    #005728

    oklch(40% 0.106 151.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #562F84

    #562F84

    oklch(40% 0.138 301.6)

  • #6A3A00

    #6A3A00

    oklch(40% 0.092 61.8)

  • #00544A

    #00544A

    oklch(40% 0.072 181.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #562F84

    #562F84

    oklch(40% 0.138 301.6)

  • #821E0E

    #821E0E

    oklch(40.1% 0.138 31.8)

  • #404F00

    #404F00

    oklch(40% 0.096 121.3)

  • #00515D

    #00515D

    oklch(39.9% 0.069 211.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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