#502D5A

Closest named color: Grape Purple (#5D1451). oklch(36.1% 0.086 318.4), rgb(80, 45, 90).

Aa

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

About this color

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

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

Values

HEX#502D5A
RGBrgb(80, 45, 90)
HSLhsl(287, 33%, 26%)
OKLCHoklch(36.1% 0.086 318.4)

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 #502D5A 11.26:1 AAA Lc -99.6 Preferred for body text
Black text on #502D5A 1.86:1 Fails Lc 8.1 Not readable
#502D5A text on white 11.26:1 AAA Lc 95.8 Preferred for body text
#502D5A text on black 1.86: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

    #EFE6F2

    oklch(93.5% 0.019 317.7)

  3. Step 200

    200

    #E4D2E9

    oklch(88.5% 0.037 318.9)

  4. Step 300

    300

    #D3B4DC

    oklch(80.9% 0.065 318.6)

  5. Step 400

    400

    #BC8CCA

    oklch(70.7% 0.103 318.5)

  6. Step 500

    500

    #AB6EBC

    oklch(63.2% 0.131 318.7)

  7. Step 600

    600

    #9654A8

    oklch(55.6% 0.143 318.7)

  8. Step 700

    700

    #804490

    oklch(49.1% 0.133 318.9)

  9. Step 800

    800

    #683875

    oklch(42.7% 0.111 318.8)

  10. Step 900

    900 (this color)

    #502D5A

    oklch(36.1% 0.086 318.4)

  11. Step 950

    950

    #321D37

    oklch(27% 0.055 319.7)

Export this scale for Tailwind in the Tailwind colors tool

#502D5A 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)#25385C0.076
Deuteranopia (no green cones)#2F3C590.069
Tritanopia (no blue cones)#50333F0.055
Achromatopsia (no color)#3B3B3B0.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #502D5A

    #502D5A

    oklch(36.1% 0.086 318.4)

  • #244818

    #244818

    oklch(36.2% 0.086 138.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #502D5A

    #502D5A

    oklch(36.1% 0.086 318.4)

  • #3C3467

    #3C3467

    oklch(36% 0.086 288.5)

  • #5D2845

    #5D2845

    oklch(36.1% 0.086 348.3)

Open the analogous palette in the generator

Split complementary

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

  • #502D5A

    #502D5A

    oklch(36.1% 0.086 318.4)

  • #414000

    #414000

    oklch(36.1% 0.078 108.8)

  • #004936

    #004936

    oklch(36% 0.073 168.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #502D5A

    #502D5A

    oklch(36.1% 0.086 318.4)

  • #533800

    #533800

    oklch(36.3% 0.075 78.5)

  • #004749

    #004749

    oklch(36.1% 0.061 198)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #502D5A

    #502D5A

    oklch(36.1% 0.086 318.4)

  • #602D0D

    #602D0D

    oklch(36.1% 0.086 48.7)

  • #244818

    #244818

    oklch(36.2% 0.086 138.6)

  • #00445B

    #00445B

    oklch(36.1% 0.071 228.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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