#521F65

Closest named color: Grape Purple (#5D1451). oklch(34.9% 0.124 315.5), rgb(82, 31, 101).

Aa

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

About this color

#521F65 is a dark, moderately saturated purple. In OKLCH its lightness is 35%, its chroma 0.124 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.044 away. White text reads best on it, at 12.05:1.

Hue familyPurples
Lightnessdark (35%)
Chromamoderately saturated (0.124)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.74:1
White text12.05:1

Values

HEX#521F65
RGBrgb(82, 31, 101)
HSLhsl(284, 53%, 26%)
OKLCHoklch(34.9% 0.124 315.5)

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 #521F65 12.05:1 AAA Lc -100.6 Preferred for body text
Black text on #521F65 1.74:1 Fails Lc 0.0 Not readable
#521F65 text on white 12.05:1 AAA Lc 97.0 Preferred for body text
#521F65 text on black 1.74: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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F1E5F6

    oklch(93.6% 0.026 316.1)

  3. Step 200

    200

    #E7CFF1

    oklch(88.5% 0.053 316)

  4. Step 300

    300

    #D8AFEA

    oklch(81% 0.092 315.4)

  5. Step 400

    400

    #C481DF

    oklch(70.6% 0.15 315.7)

  6. Step 500

    500

    #B45DD6

    oklch(63% 0.191 315.5)

  7. Step 600

    600

    #A03EC3

    oklch(55.6% 0.208 315.8)

  8. Step 700

    700

    #882FA9

    oklch(49.1% 0.193 315.2)

  9. Step 800

    800

    #6F2989

    oklch(42.8% 0.16 315.4)

  10. Step 900

    900 (this color)

    #521F65

    oklch(34.9% 0.124 315.5)

  11. Step 950

    950

    #351840

    oklch(27.1% 0.079 315.9)

Export this scale for Tailwind in the Tailwind colors tool

#521F65 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)#0233670.119
Deuteranopia (no green cones)#1E38630.103
Tritanopia (no blue cones)#512C3F0.080
Achromatopsia (no color)#3636360.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #521F65

    #521F65

    oklch(34.9% 0.124 315.5)

  • #1F4500

    #1F4500

    oklch(34.8% 0.103 135.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #521F65

    #521F65

    oklch(34.9% 0.124 315.5)

  • #372B77

    #372B77

    oklch(35% 0.124 285.2)

  • #641548

    #641548

    oklch(35% 0.124 345.9)

Open the analogous palette in the generator

Split complementary

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

  • #521F65

    #521F65

    oklch(34.9% 0.124 315.5)

  • #403C00

    #403C00

    oklch(34.9% 0.074 105.4)

  • #004631

    #004631

    oklch(34.9% 0.073 165.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #521F65

    #521F65

    oklch(34.9% 0.124 315.5)

  • #503400

    #503400

    oklch(35% 0.073 75.8)

  • #004444

    #004444

    oklch(35% 0.06 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #521F65

    #521F65

    oklch(34.9% 0.124 315.5)

  • #622500

    #622500

    oklch(34.9% 0.099 45.6)

  • #1F4500

    #1F4500

    oklch(34.8% 0.103 135.4)

  • #004154

    #004154

    oklch(34.9% 0.066 224.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #521F65 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.