#521B4B

Closest named color: Grape Purple (#5D1451). oklch(32.7% 0.104 333), rgb(82, 27, 75).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (33%)
Chromamoderately saturated (0.104)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.61:1
White text12.98:1

Values

HEX#521B4B
RGBrgb(82, 27, 75)
HSLhsl(308, 50%, 21%)
OKLCHoklch(32.7% 0.104 333)

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 #521B4B 12.98:1 AAA Lc -102.0 Preferred for body text
Black text on #521B4B 1.61:1 Fails Lc 0.0 Not readable
#521B4B text on white 12.98:1 AAA Lc 98.7 Preferred for body text
#521B4B text on black 1.61: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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F4E5F0

    oklch(93.7% 0.022 334.9)

  3. Step 200

    200

    #EBCFE6

    oklch(88.5% 0.044 331.9)

  4. Step 300

    300

    #E0AED6

    oklch(80.8% 0.078 333.4)

  5. Step 400

    400

    #CF82C2

    oklch(70.8% 0.125 333.1)

  6. Step 500

    500

    #C060B2

    oklch(63.1% 0.159 333)

  7. Step 600

    600

    #AB439E

    oklch(55.6% 0.174 332.8)

  8. Step 700

    700

    #933487

    oklch(49.1% 0.161 333.1)

  9. Step 800

    800

    #772C6E

    oklch(42.7% 0.134 332.6)

  10. Step 900

    900 (this color)

    #521B4B

    oklch(32.7% 0.104 333)

  11. Step 950

    950

    #391934

    oklch(27.1% 0.065 333.4)

Export this scale for Tailwind in the Tailwind colors tool

#521B4B 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)#192C4C0.110
Deuteranopia (no green cones)#2B344A0.095
Tritanopia (no blue cones)#561F300.053
Achromatopsia (no color)#3131310.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #521B4B

    #521B4B

    oklch(32.7% 0.104 333)

  • #00401E

    #00401E

    oklch(32.6% 0.084 152.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #521B4B

    #521B4B

    oklch(32.7% 0.104 333)

  • #402360

    #402360

    oklch(32.7% 0.105 302.9)

  • #5D162F

    #5D162F

    oklch(32.8% 0.104 3.6)

Open the analogous palette in the generator

Split complementary

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

  • #521B4B

    #521B4B

    oklch(32.7% 0.104 333)

  • #2D3B00

    #2D3B00

    oklch(32.8% 0.081 123.2)

  • #003E37

    #003E37

    oklch(32.7% 0.058 182.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #521B4B

    #521B4B

    oklch(32.7% 0.104 333)

  • #403300

    #403300

    oklch(32.6% 0.067 93.2)

  • #003C46

    #003C46

    oklch(32.7% 0.057 212.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #521B4B

    #521B4B

    oklch(32.7% 0.104 333)

  • #4F2B00

    #4F2B00

    oklch(32.9% 0.075 63.5)

  • #00401E

    #00401E

    oklch(32.6% 0.084 152.9)

  • #00385A

    #00385A

    oklch(32.8% 0.08 243.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #521B4B.

Similar named colors

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

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