#502B56

Closest named color: Grape Purple (#5D1451). oklch(35.5% 0.085 321.9), rgb(80, 43, 86).

Aa

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

About this color

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

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

Values

HEX#502B56
RGBrgb(80, 43, 86)
HSLhsl(292, 33%, 25%)
OKLCHoklch(35.5% 0.085 321.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 #502B56 11.53:1 AAA Lc -100.0 Preferred for body text
Black text on #502B56 1.82:1 Fails Lc 7.6 Not readable
#502B56 text on white 11.53:1 AAA Lc 96.3 Preferred for body text
#502B56 text on black 1.82: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

    #E5D2E7

    oklch(88.5% 0.035 322.9)

  4. Step 300

    300

    #D5B4DA

    oklch(81.1% 0.064 321.9)

  5. Step 400

    400

    #BE8BC7

    oklch(70.7% 0.102 321.3)

  6. Step 500

    500

    #AE6DB8

    oklch(63.2% 0.13 322.1)

  7. Step 600

    600

    #9953A4

    oklch(55.6% 0.142 322)

  8. Step 700

    700

    #82438C

    oklch(49% 0.132 322)

  9. Step 800

    800

    #6A3872

    oklch(42.7% 0.109 321.9)

  10. Step 900

    900 (this color)

    #502B56

    oklch(35.5% 0.085 321.9)

  11. Step 950

    950

    #331D36

    oklch(27.1% 0.054 322.6)

Export this scale for Tailwind in the Tailwind colors tool

#502B56 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)#2536570.078
Deuteranopia (no green cones)#303B550.070
Tritanopia (no blue cones)#51303C0.052
Achromatopsia (no color)#3939390.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #502B56

    #502B56

    oklch(35.5% 0.085 321.9)

  • #1E471A

    #1E471A

    oklch(35.6% 0.086 141.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #502B56

    #502B56

    oklch(35.5% 0.085 321.9)

  • #3D3264

    #3D3264

    oklch(35.5% 0.085 291.6)

  • #5C2741

    #5C2741

    oklch(35.6% 0.084 351.6)

Open the analogous palette in the generator

Split complementary

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

  • #502B56

    #502B56

    oklch(35.5% 0.085 321.9)

  • #3D3F00

    #3D3F00

    oklch(35.4% 0.078 111.8)

  • #004738

    #004738

    oklch(35.5% 0.068 172.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #502B56

    #502B56

    oklch(35.5% 0.085 321.9)

  • #4F3700

    #4F3700

    oklch(35.5% 0.073 81.3)

  • #004549

    #004549

    oklch(35.5% 0.06 201.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #502B56

    #502B56

    oklch(35.5% 0.085 321.9)

  • #5D2D07

    #5D2D07

    oklch(35.5% 0.084 52.8)

  • #1E471A

    #1E471A

    oklch(35.6% 0.086 141.9)

  • #00425B

    #00425B

    oklch(35.6% 0.072 231.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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