#562E90

Closest named color: Rebecca Purple (#663399). oklch(40.8% 0.154 297.9), rgb(86, 46, 144).

Aa

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

About this color

#562E90 is a dark, vivid purple. In OKLCH its lightness is 41%, its chroma 0.154 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.59:1.

Hue familyPurples
Lightnessdark (41%)
Chromavivid (0.154)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.18:1
White text9.59:1

Values

HEX#562E90
RGBrgb(86, 46, 144)
HSLhsl(264, 52%, 37%)
OKLCHoklch(40.8% 0.154 297.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 #562E90 9.59:1 AAA Lc -96.0 Preferred for body text
Black text on #562E90 2.18:1 Fails Lc 12.3 Not readable
#562E90 text on white 9.59:1 AAA Lc 91.7 Preferred for body text
#562E90 text on black 2.18:1 Fails Lc -10.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 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

    #DDD3F7

    oklch(88.6% 0.05 298.1)

  4. Step 300

    300

    #C7B4F4

    oklch(80.8% 0.091 298)

  5. Step 400

    400

    #AC8BEE

    oklch(70.7% 0.144 298)

  6. Step 500

    500

    #996AE8

    oklch(63.1% 0.184 298.2)

  7. Step 600

    600

    #844ED6

    oklch(55.6% 0.199 297.8)

  8. Step 700

    700

    #703EBA

    oklch(49.2% 0.185 297.7)

  9. Step 800

    800 (this color)

    #562E90

    oklch(40.8% 0.154 297.9)

  10. Step 900

    900

    #4A2F78

    oklch(37.7% 0.12 297.4)

  11. Step 950

    950

    #2B1C46

    oklch(26.9% 0.076 297.5)

Export this scale for Tailwind in the Tailwind colors tool

#562E90 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)#0045930.105
Deuteranopia (no green cones)#00448E0.105
Tritanopia (no blue cones)#48455B0.117
Achromatopsia (no color)#4545450.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #562E90

    #562E90

    oklch(40.8% 0.154 297.9)

  • #465000

    #465000

    oklch(40.8% 0.095 117.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #562E90

    #562E90

    oklch(40.8% 0.154 297.9)

  • #273F9B

    #273F9B

    oklch(40.8% 0.153 267.8)

  • #731F73

    #731F73

    oklch(40.9% 0.154 327.9)

Open the analogous palette in the generator

Split complementary

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

  • #562E90

    #562E90

    oklch(40.8% 0.154 297.9)

  • #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.

  • #562E90

    #562E90

    oklch(40.8% 0.154 297.9)

  • #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.

  • #562E90

    #562E90

    oklch(40.8% 0.154 297.9)

  • #8A1211

    #8A1211

    oklch(40.7% 0.154 27.8)

  • #465000

    #465000

    oklch(40.8% 0.095 117.7)

  • #00545D

    #00545D

    oklch(40.8% 0.07 207.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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