#502C57

Closest named color: Grape Purple (#5D1451). oklch(35.8% 0.084 320.9), rgb(80, 44, 87).

Aa

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

About this color

#502C57 is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.084 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.053 away. White text reads best on it, at 11.41:1.

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.084)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.83:1
White text11.41:1

Values

HEX#502C57
RGBrgb(80, 44, 87)
HSLhsl(290, 33%, 26%)
OKLCHoklch(35.8% 0.084 320.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 #502C57 11.41:1 AAA Lc -99.8 Preferred for body text
Black text on #502C57 1.83:1 Fails Lc 7.8 Not readable
#502C57 text on white 11.41:1 AAA Lc 96.1 Preferred for body text
#502C57 text on black 1.83: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

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #F0E6F1

    oklch(93.6% 0.018 323)

  3. Step 200

    200

    #E4D2E8

    oklch(88.5% 0.035 320.1)

  4. Step 300

    300

    #D4B4DA

    oklch(81% 0.063 321)

  5. Step 400

    400

    #BD8CC7

    oklch(70.7% 0.1 320.6)

  6. Step 500

    500

    #AC6DB9

    oklch(63% 0.13 320.6)

  7. Step 600

    600

    #9754A5

    oklch(55.6% 0.14 320.5)

  8. Step 700

    700

    #81448D

    oklch(49.1% 0.13 320.8)

  9. Step 800

    800

    #693872

    oklch(42.6% 0.108 321.2)

  10. Step 900

    900 (this color)

    #502C57

    oklch(35.8% 0.084 320.9)

  11. Step 950

    950

    #321D36

    oklch(26.9% 0.053 321)

Export this scale for Tailwind in the Tailwind colors tool

#502C57 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)#2637590.076
Deuteranopia (no green cones)#303B560.068
Tritanopia (no blue cones)#51313D0.052
Achromatopsia (no color)#3A3A3A0.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #502C57

    #502C57

    oklch(35.8% 0.084 320.9)

  • #21471A

    #21471A

    oklch(35.8% 0.084 140.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #502C57

    #502C57

    oklch(35.8% 0.084 320.9)

  • #3D3365

    #3D3365

    oklch(35.7% 0.085 290.7)

  • #5C2742

    #5C2742

    oklch(35.6% 0.085 350.5)

Open the analogous palette in the generator

Split complementary

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

  • #502C57

    #502C57

    oklch(35.8% 0.084 320.9)

  • #3F4000

    #3F4000

    oklch(35.9% 0.079 110.8)

  • #004837

    #004837

    oklch(35.7% 0.07 170.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #502C57

    #502C57

    oklch(35.8% 0.084 320.9)

  • #503800

    #503800

    oklch(35.9% 0.074 81.7)

  • #004649

    #004649

    oklch(35.8% 0.061 199.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #502C57

    #502C57

    oklch(35.8% 0.084 320.9)

  • #5E2D0A

    #5E2D0A

    oklch(35.7% 0.084 51)

  • #21471A

    #21471A

    oklch(35.8% 0.084 140.6)

  • #00435B

    #00435B

    oklch(35.9% 0.072 230.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #502C57 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.