#562981

Closest named color: Dark Slate Blue (#483D8B). oklch(38.9% 0.143 303.9), rgb(86, 41, 129).

Aa

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

About this color

#562981 is a dark, vivid purple. In OKLCH its lightness is 39%, its chroma 0.143 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.052 away. White text reads best on it, at 10.34:1.

Hue familyPurples
Lightnessdark (39%)
Chromavivid (0.143)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.02:1
White text10.34:1

Values

HEX#562981
RGBrgb(86, 41, 129)
HSLhsl(271, 52%, 33%)
OKLCHoklch(38.9% 0.143 303.9)

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 #562981 10.34:1 AAA Lc -97.5 Preferred for body text
Black text on #562981 2.02:1 Fails Lc 10.5 Not readable
#562981 text on white 10.34:1 AAA Lc 93.5 Preferred for body text
#562981 text on black 2.02:1 Fails Lc -9.0 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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EEE5FB

    oklch(93.5% 0.031 304.3)

  3. Step 200

    200

    #E1D0FA

    oklch(88.5% 0.06 303.6)

  4. Step 300

    300

    #CFAFF9

    oklch(80.8% 0.108 303.9)

  5. Step 400

    400

    #B882F6

    oklch(70.7% 0.171 303.9)

  6. Step 500

    500

    #A75BF2

    oklch(63% 0.219 303.9)

  7. Step 600

    600

    #9339E1

    oklch(55.6% 0.238 303.8)

  8. Step 700

    700

    #7E29C3

    oklch(49.2% 0.221 304.1)

  9. Step 800

    800

    #66259E

    oklch(42.7% 0.183 303.8)

  10. Step 900

    900 (this color)

    #562981

    oklch(38.9% 0.143 303.9)

  11. Step 950

    950

    #301749

    oklch(26.9% 0.09 303.9)

Export this scale for Tailwind in the Tailwind colors tool

#562981 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)#003F840.112
Deuteranopia (no green cones)#0B407F0.109
Tritanopia (no blue cones)#4E3C510.103
Achromatopsia (no color)#4040400.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #562981

    #562981

    oklch(38.9% 0.143 303.9)

  • #3A4D00

    #3A4D00

    oklch(39% 0.097 124.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #562981

    #562981

    oklch(38.9% 0.143 303.9)

  • #30388F

    #30388F

    oklch(38.9% 0.142 273.8)

  • #6E1C63

    #6E1C63

    oklch(38.8% 0.142 333.9)

Open the analogous palette in the generator

Split complementary

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

  • #562981

    #562981

    oklch(38.9% 0.143 303.9)

  • #534300

    #534300

    oklch(38.8% 0.08 93.4)

  • #00532B

    #00532B

    oklch(38.8% 0.098 154.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #562981

    #562981

    oklch(38.9% 0.143 303.9)

  • #653900

    #653900

    oklch(39% 0.088 64.1)

  • #005049

    #005049

    oklch(38.8% 0.068 184.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #562981

    #562981

    oklch(38.9% 0.143 303.9)

  • #7F1900

    #7F1900

    oklch(39% 0.14 33.9)

  • #3A4D00

    #3A4D00

    oklch(39% 0.097 124.2)

  • #004E5B

    #004E5B

    oklch(39% 0.068 213.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #562981 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.