#5F3599

Closest named color: Rebecca Purple (#663399). oklch(43.5% 0.156 299.1), rgb(95, 53, 153).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (43%)
Chromavivid (0.156)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.45:1
White text8.55:1

Values

HEX#5F3599
RGBrgb(95, 53, 153)
HSLhsl(265, 49%, 40%)
OKLCHoklch(43.5% 0.156 299.1)

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 #5F3599 8.55:1 AAA Lc -93.5 Preferred for body text
Black text on #5F3599 2.45:1 Fails Lc 15.1 Dividers and decoration only
#5F3599 text on white 8.55:1 AAA Lc 88.9 Fine for body text
#5F3599 text on black 2.45:1 Fails Lc -13.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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #ECE6FA

    oklch(93.6% 0.027 299.5)

  3. Step 200

    200

    #DDD2F7

    oklch(88.4% 0.052 298.9)

  4. Step 300

    300

    #C8B4F4

    oklch(80.9% 0.091 298.7)

  5. Step 400

    400

    #AE8AEE

    oklch(70.7% 0.146 299.2)

  6. Step 500

    500

    #9B69E8

    oklch(63.1% 0.186 299.2)

  7. Step 600

    600

    #874CD6

    oklch(55.6% 0.202 299.4)

  8. Step 700

    700

    #723CBA

    oklch(49.1% 0.188 298.9)

  9. Step 800

    800 (this color)

    #5F3599

    oklch(43.5% 0.156 299.1)

  10. Step 900

    900

    #4C2E78

    oklch(37.8% 0.122 299.2)

  11. Step 950

    950

    #2C1C46

    oklch(27% 0.076 298.8)

Export this scale for Tailwind in the Tailwind colors tool

#5F3599 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)#004C9C0.112
Deuteranopia (no green cones)#004B970.112
Tritanopia (no blue cones)#524B620.118
Achromatopsia (no color)#4C4C4C0.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F3599

    #5F3599

    oklch(43.5% 0.156 299.1)

  • #4B5800

    #4B5800

    oklch(43.4% 0.102 119.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F3599

    #5F3599

    oklch(43.5% 0.156 299.1)

  • #3046A5

    #3046A5

    oklch(43.5% 0.155 269.1)

  • #7D267A

    #7D267A

    oklch(43.6% 0.157 329.3)

Open the analogous palette in the generator

Split complementary

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

  • #5F3599

    #5F3599

    oklch(43.5% 0.156 299.1)

  • #654E00

    #654E00

    oklch(43.6% 0.089 89.1)

  • #006327

    #006327

    oklch(43.6% 0.123 148.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F3599

    #5F3599

    oklch(43.5% 0.156 299.1)

  • #794000

    #794000

    oklch(43.4% 0.103 58.9)

  • #005F52

    #005F52

    oklch(43.5% 0.079 179.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F3599

    #5F3599

    oklch(43.5% 0.156 299.1)

  • #941D15

    #941D15

    oklch(43.5% 0.156 29.1)

  • #4B5800

    #4B5800

    oklch(43.4% 0.102 119.1)

  • #005C67

    #005C67

    oklch(43.5% 0.075 208.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5F3599 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.