#5939AA

Closest named color: Rebecca Purple (#663399). oklch(44.8% 0.171 290.9), rgb(89, 57, 170).

Aa

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

About this color

#5939AA is a dark, vivid purple. In OKLCH its lightness is 45%, its chroma 0.171 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.038 away. White text reads best on it, at 8.10:1.

Hue familyPurples
Lightnessdark (45%)
Chromavivid (0.171)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.59:1
White text8.10:1

Values

HEX#5939AA
RGBrgb(89, 57, 170)
HSLhsl(257, 50%, 45%)
OKLCHoklch(44.8% 0.171 290.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 #5939AA 8.10:1 AAA Lc -92.2 Preferred for body text
Black text on #5939AA 2.59:1 Fails Lc 16.5 Dividers and decoration only
#5939AA text on white 8.10:1 AAA Lc 87.5 Fine for body text
#5939AA text on black 2.59:1 Fails Lc -14.6 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

    #E9E7FC

    oklch(93.6% 0.028 290.2)

  3. Step 200

    200

    #D8D3FC

    oklch(88.4% 0.056 290.8)

  4. Step 300

    300

    #C0B6FD

    oklch(81% 0.1 290.4)

  5. Step 400

    400

    #A28CFC

    oklch(70.8% 0.16 290.8)

  6. Step 500

    500

    #8E6AF9

    oklch(63.1% 0.204 291)

  7. Step 600

    600

    #7A4CE8

    oklch(55.7% 0.222 291)

  8. Step 700

    700

    #673BCA

    oklch(49.1% 0.207 290.9)

  9. Step 800

    800 (this color)

    #5939AA

    oklch(44.8% 0.171 290.9)

  10. Step 900

    900

    #442E81

    oklch(37.6% 0.133 290.8)

  11. Step 950

    950

    #281C4C

    oklch(27% 0.085 291.2)

Export this scale for Tailwind in the Tailwind colors tool

#5939AA 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)#0052AD0.098
Deuteranopia (no green cones)#004DA80.096
Tritanopia (no blue cones)#3F546C0.138
Achromatopsia (no color)#5050500.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #5939AA

    #5939AA

    oklch(44.8% 0.171 290.9)

  • #585900

    #585900

    oklch(44.8% 0.098 110.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5939AA

    #5939AA

    oklch(44.8% 0.171 290.9)

  • #124CB1

    #124CB1

    oklch(44.7% 0.171 261)

  • #7D278D

    #7D278D

    oklch(44.8% 0.172 320.9)

Open the analogous palette in the generator

Split complementary

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

  • #5939AA

    #5939AA

    oklch(44.8% 0.171 290.9)

  • #6F4E00

    #6F4E00

    oklch(44.8% 0.093 80.5)

  • #156700

    #156700

    oklch(44.8% 0.147 140.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5939AA

    #5939AA

    oklch(44.8% 0.171 290.9)

  • #863D00

    #863D00

    oklch(44.9% 0.117 50.7)

  • #00644E

    #00644E

    oklch(44.8% 0.088 170.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5939AA

    #5939AA

    oklch(44.8% 0.171 290.9)

  • #9E1028

    #9E1028

    oklch(44.9% 0.171 20.8)

  • #585900

    #585900

    oklch(44.8% 0.098 110.5)

  • #006166

    #006166

    oklch(44.8% 0.076 201)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5939AA 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.