#5731AC

Closest named color: Rebecca Purple (#663399). oklch(43.6% 0.184 291), rgb(87, 49, 172).

Aa

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

About this color

#5731AC is a dark, vivid purple. In OKLCH its lightness is 44%, its chroma 0.184 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.044 away. White text reads best on it, at 8.60:1.

Hue familyPurples
Lightnessdark (44%)
Chromavivid (0.184)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.44:1
White text8.60:1

Values

HEX#5731AC
RGBrgb(87, 49, 172)
HSLhsl(259, 56%, 43%)
OKLCHoklch(43.6% 0.184 291)

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 #5731AC 8.60:1 AAA Lc -93.4 Preferred for body text
Black text on #5731AC 2.44:1 Fails Lc 15.1 Dividers and decoration only
#5731AC text on white 8.60:1 AAA Lc 88.8 Fine for body text
#5731AC text on black 2.44:1 Fails Lc -13.4 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

    #F5F4FF

    oklch(97.1% 0.015 290.3)

  2. Step 100

    100

    #E9E7FE

    oklch(93.6% 0.031 289.8)

  3. Step 200

    200

    #D8D3FE

    oklch(88.5% 0.059 290.5)

  4. Step 300

    300

    #C0B5FF

    oklch(80.9% 0.104 290.7)

  5. Step 400

    400

    #A28BFF

    oklch(70.7% 0.166 290.7)

  6. Step 500

    500

    #8F67FF

    oklch(63.2% 0.216 291.1)

  7. Step 600

    600

    #7B45F0

    oklch(55.5% 0.239 291)

  8. Step 700

    700

    #6835D1

    oklch(49.1% 0.221 290.8)

  9. Step 800

    800 (this color)

    #5731AC

    oklch(43.6% 0.184 291)

  10. Step 900

    900

    #452C86

    oklch(37.8% 0.143 290.7)

  11. Step 950

    950

    #281B4E

    oklch(27% 0.09 290.9)

Export this scale for Tailwind in the Tailwind colors tool

#5731AC 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)#004EB00.100
Deuteranopia (no green cones)#0049AA0.098
Tritanopia (no blue cones)#3B516B0.147
Achromatopsia (no color)#4C4C4C0.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #5731AC

    #5731AC

    oklch(43.6% 0.184 291)

  • #545600

    #545600

    oklch(43.7% 0.096 111.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5731AC

    #5731AC

    oklch(43.6% 0.184 291)

  • #0447B4

    #0447B4

    oklch(43.7% 0.183 260.9)

  • #7C1C8D

    #7C1C8D

    oklch(43.7% 0.184 321)

Open the analogous palette in the generator

Split complementary

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

  • #5731AC

    #5731AC

    oklch(43.6% 0.184 291)

  • #6B4B00

    #6B4B00

    oklch(43.6% 0.09 80.5)

  • #136300

    #136300

    oklch(43.6% 0.143 140.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5731AC

    #5731AC

    oklch(43.6% 0.184 291)

  • #813B00

    #813B00

    oklch(43.7% 0.114 51.1)

  • #00604B

    #00604B

    oklch(43.5% 0.085 171.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5731AC

    #5731AC

    oklch(43.6% 0.184 291)

  • #9B0023

    #9B0023

    oklch(43.6% 0.175 20.8)

  • #545600

    #545600

    oklch(43.7% 0.096 111.3)

  • #005D62

    #005D62

    oklch(43.5% 0.074 201.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #5731AC.

Similar named colors

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

Use #5731AC 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.