#562F8F

Closest named color: Rebecca Purple (#663399). oklch(40.8% 0.151 298), rgb(86, 47, 143).

Aa

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

About this color

#562F8F is a dark, vivid purple. In OKLCH its lightness is 41%, its chroma 0.151 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.036 away. White text reads best on it, at 9.55:1.

Hue familyPurples
Lightnessdark (41%)
Chromavivid (0.151)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.19:1
White text9.55:1

Values

HEX#562F8F
RGBrgb(86, 47, 143)
HSLhsl(264, 51%, 37%)
OKLCHoklch(40.8% 0.151 298)

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 #562F8F 9.55:1 AAA Lc -95.9 Preferred for body text
Black text on #562F8F 2.19:1 Fails Lc 12.4 Not readable
#562F8F text on white 9.55:1 AAA Lc 91.6 Preferred for body text
#562F8F text on black 2.19:1 Fails Lc -10.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 800.

  1. Step 50

    50

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #ECE7F9

    oklch(93.7% 0.025 298.6)

  3. Step 200

    200

    #DDD3F6

    oklch(88.6% 0.049 298.5)

  4. Step 300

    300

    #C7B5F3

    oklch(81% 0.088 297.7)

  5. Step 400

    400

    #AC8BED

    oklch(70.7% 0.143 298.2)

  6. Step 500

    500

    #996BE6

    oklch(63.1% 0.18 298.3)

  7. Step 600

    600

    #844FD4

    oklch(55.6% 0.196 298.1)

  8. Step 700

    700

    #703FB8

    oklch(49.2% 0.182 298)

  9. Step 800

    800 (this color)

    #562F8F

    oklch(40.8% 0.151 298)

  10. Step 900

    900

    #4A2F77

    oklch(37.6% 0.119 297.7)

  11. Step 950

    950

    #2B1C46

    oklch(26.9% 0.076 297.5)

Export this scale for Tailwind in the Tailwind colors tool

#562F8F 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)#0045920.104
Deuteranopia (no green cones)#00448D0.104
Tritanopia (no blue cones)#48455B0.115
Achromatopsia (no color)#4545450.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #562F8F

    #562F8F

    oklch(40.8% 0.151 298)

  • #465000

    #465000

    oklch(40.8% 0.095 117.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #562F8F

    #562F8F

    oklch(40.8% 0.151 298)

  • #283F9A

    #283F9A

    oklch(40.8% 0.151 268.1)

  • #722072

    #722072

    oklch(40.7% 0.151 327.9)

Open the analogous palette in the generator

Split complementary

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

  • #562F8F

    #562F8F

    oklch(40.8% 0.151 298)

  • #5D4600

    #5D4600

    oklch(40.8% 0.083 87.1)

  • #005A20

    #005A20

    oklch(40.8% 0.118 148)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #562F8F

    #562F8F

    oklch(40.8% 0.151 298)

  • #703A00

    #703A00

    oklch(40.9% 0.098 58.2)

  • #00574A

    #00574A

    oklch(40.9% 0.075 178)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #562F8F

    #562F8F

    oklch(40.8% 0.151 298)

  • #891512

    #891512

    oklch(40.7% 0.151 28.1)

  • #465000

    #465000

    oklch(40.8% 0.095 117.7)

  • #00545E

    #00545E

    oklch(40.8% 0.07 208.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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