#562FA4

Closest named color: Rebecca Purple (#663399). oklch(42.6% 0.176 292.6), rgb(86, 47, 164).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (43%)
Chromavivid (0.176)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.33:1
White text8.98:1

Values

HEX#562FA4
RGBrgb(86, 47, 164)
HSLhsl(260, 55%, 41%)
OKLCHoklch(42.6% 0.176 292.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 #562FA4 8.98:1 AAA Lc -94.4 Preferred for body text
Black text on #562FA4 2.33:1 Fails Lc 14.1 Not readable
#562FA4 text on white 8.98:1 AAA Lc 89.9 Fine for body text
#562FA4 text on black 2.33:1 Fails Lc -12.3 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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #EAE7FD

    oklch(93.7% 0.03 292.1)

  3. Step 200

    200

    #DAD3FD

    oklch(88.6% 0.058 292.8)

  4. Step 300

    300

    #C2B4FE

    oklch(80.8% 0.104 292.6)

  5. Step 400

    400

    #A58AFD

    oklch(70.7% 0.164 292.5)

  6. Step 500

    500

    #9167FB

    oklch(63.1% 0.211 292.4)

  7. Step 600

    600

    #7E48EA

    oklch(55.7% 0.229 292.7)

  8. Step 700

    700

    #6A37CB

    oklch(49% 0.213 292.5)

  9. Step 800

    800 (this color)

    #562FA4

    oklch(42.6% 0.176 292.6)

  10. Step 900

    900

    #462C82

    oklch(37.6% 0.137 292.4)

  11. Step 950

    950

    #291B4C

    oklch(27% 0.087 292.8)

Export this scale for Tailwind in the Tailwind colors tool

#562FA4 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)#004BA70.101
Deuteranopia (no green cones)#0047A20.100
Tritanopia (no blue cones)#3E4D660.140
Achromatopsia (no color)#4949490.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #562FA4

    #562FA4

    oklch(42.6% 0.176 292.6)

  • #505300

    #505300

    oklch(42.5% 0.094 112.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #562FA4

    #562FA4

    oklch(42.6% 0.176 292.6)

  • #1243AD

    #1243AD

    oklch(42.5% 0.177 262.7)

  • #781B85

    #781B85

    oklch(42.5% 0.176 322.4)

Open the analogous palette in the generator

Split complementary

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

  • #562FA4

    #562FA4

    oklch(42.6% 0.176 292.6)

  • #664900

    #664900

    oklch(42.6% 0.088 82.4)

  • #006101

    #006101

    oklch(42.7% 0.145 142.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #562FA4

    #562FA4

    oklch(42.6% 0.176 292.6)

  • #7B3A00

    #7B3A00

    oklch(42.6% 0.109 52.7)

  • #005D4A

    #005D4A

    oklch(42.6% 0.082 172.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #562FA4

    #562FA4

    oklch(42.6% 0.176 292.6)

  • #96001D

    #96001D

    oklch(42.5% 0.171 22.5)

  • #505300

    #505300

    oklch(42.5% 0.094 112.2)

  • #005A60

    #005A60

    oklch(42.6% 0.073 202.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #562FA4.

Similar named colors

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

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