#521159

Closest named color: Plum Purple (#4E0550). oklch(32.5% 0.131 323.7), rgb(82, 17, 89).

Aa

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

About this color

#521159 is a dark, moderately saturated purple. In OKLCH its lightness is 33%, its chroma 0.131 and its hue 324°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum Purple (#4E0550), ΔE 0.024 away. White text reads best on it, at 13.26:1.

Hue familyPurples
Lightnessdark (33%)
Chromamoderately saturated (0.131)
Temperaturein between
Nearest namePlum Purple (#4E0550)
Black text1.58:1
White text13.26:1

Values

HEX#521159
RGBrgb(82, 17, 89)
HSLhsl(294, 68%, 21%)
OKLCHoklch(32.5% 0.131 323.7)

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 #521159 13.26:1 AAA Lc -102.1 Preferred for body text
Black text on #521159 1.58:1 Fails Lc 0.0 Not readable
#521159 text on white 13.26:1 AAA Lc 98.7 Preferred for body text
#521159 text on black 1.58:1 Fails Lc 0.0 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 900.

  1. Step 50

    50

    #FAF3FB

    oklch(97.2% 0.013 321.9)

  2. Step 100

    100

    #F4E4F5

    oklch(93.7% 0.028 324)

  3. Step 200

    200

    #ECCEEE

    oklch(88.6% 0.054 324.1)

  4. Step 300

    300

    #E0ABE5

    oklch(80.8% 0.098 323.6)

  5. Step 400

    400

    #CF7CD8

    oklch(70.7% 0.157 323.5)

  6. Step 500

    500

    #C155CD

    oklch(63.1% 0.2 323.6)

  7. Step 600

    600

    #AD32BA

    oklch(55.7% 0.219 323.8)

  8. Step 700

    700

    #9422A0

    oklch(49.1% 0.204 323.7)

  9. Step 800

    800

    #782082

    oklch(42.7% 0.168 323.4)

  10. Step 900

    900 (this color)

    #521159

    oklch(32.5% 0.131 323.7)

  11. Step 950

    950

    #39153D

    oklch(27% 0.083 323.6)

Export this scale for Tailwind in the Tailwind colors tool

#521159 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)#002B5B0.135
Deuteranopia (no green cones)#1E32570.116
Tritanopia (no blue cones)#541F340.078
Achromatopsia (no color)#3030300.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #521159

    #521159

    oklch(32.5% 0.131 323.7)

  • #004105

    #004105

    oklch(32.6% 0.107 143.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #521159

    #521159

    oklch(32.5% 0.131 323.7)

  • #3A1E6F

    #3A1E6F

    oklch(32.5% 0.132 293.6)

  • #610339

    #610339

    oklch(32.5% 0.131 353.6)

Open the analogous palette in the generator

Split complementary

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

  • #521159

    #521159

    oklch(32.5% 0.131 323.7)

  • #343800

    #343800

    oklch(32.6% 0.073 114.1)

  • #003E31

    #003E31

    oklch(32.4% 0.062 173.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #521159

    #521159

    oklch(32.5% 0.131 323.7)

  • #443000

    #443000

    oklch(32.4% 0.067 83.3)

  • #003C41

    #003C41

    oklch(32.5% 0.055 204)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #521159

    #521159

    oklch(32.5% 0.131 323.7)

  • #532600

    #532600

    oklch(32.5% 0.082 53.9)

  • #004105

    #004105

    oklch(32.6% 0.107 143.6)

  • #003951

    #003951

    oklch(32.5% 0.068 233.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #521159 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.