#502A6D

Closest named color: Grape Purple (#5D1451). oklch(36.8% 0.115 307.9), rgb(80, 42, 109).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (37%)
Chromamoderately saturated (0.115)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.89:1
White text11.09:1

Values

HEX#502A6D
RGBrgb(80, 42, 109)
HSLhsl(274, 44%, 30%)
OKLCHoklch(36.8% 0.115 307.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 #502A6D 11.09:1 AAA Lc -99.1 Preferred for body text
Black text on #502A6D 1.89:1 Fails Lc 8.6 Not readable
#502A6D text on white 11.09:1 AAA Lc 95.3 Preferred for body text
#502A6D text on black 1.89:1 Fails Lc -7.4 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

    #F7F3FC

    oklch(97% 0.013 306)

  2. Step 100

    100

    #EEE6F7

    oklch(93.6% 0.024 307)

  3. Step 200

    200

    #E2D1F2

    oklch(88.5% 0.048 308.5)

  4. Step 300

    300

    #D0B2EC

    oklch(80.9% 0.086 308)

  5. Step 400

    400

    #B888E3

    oklch(70.8% 0.138 307.5)

  6. Step 500

    500

    #A766DA

    oklch(63.1% 0.177 308)

  7. Step 600

    600

    #924AC8

    oklch(55.6% 0.192 307.6)

  8. Step 700

    700

    #7D3AAD

    oklch(49.2% 0.179 307.9)

  9. Step 800

    800

    #65318C

    oklch(42.7% 0.148 307.6)

  10. Step 900

    900 (this color)

    #502A6D

    oklch(36.8% 0.115 307.9)

  11. Step 950

    950

    #301B41

    oklch(27% 0.072 307.8)

Export this scale for Tailwind in the Tailwind colors tool

#502A6D 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)#103A6F0.097
Deuteranopia (no green cones)#203C6B0.086
Tritanopia (no blue cones)#4C37470.082
Achromatopsia (no color)#3C3C3C0.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #502A6D

    #502A6D

    oklch(36.8% 0.115 307.9)

  • #304800

    #304800

    oklch(36.8% 0.096 128.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #502A6D

    #502A6D

    oklch(36.8% 0.115 307.9)

  • #33357A

    #33357A

    oklch(36.8% 0.115 277.9)

  • #632154

    #632154

    oklch(36.8% 0.115 337.7)

Open the analogous palette in the generator

Split complementary

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

  • #502A6D

    #502A6D

    oklch(36.8% 0.115 307.9)

  • #4A3F00

    #4A3F00

    oklch(36.8% 0.076 98)

  • #004C2D

    #004C2D

    oklch(36.7% 0.086 158.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #502A6D

    #502A6D

    oklch(36.8% 0.115 307.9)

  • #5B3600

    #5B3600

    oklch(37% 0.081 68.2)

  • #004A45

    #004A45

    oklch(36.8% 0.064 187.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #502A6D

    #502A6D

    oklch(36.8% 0.115 307.9)

  • #6F2105

    #6F2105

    oklch(36.8% 0.116 37.7)

  • #304800

    #304800

    oklch(36.8% 0.096 128.1)

  • #004756

    #004756

    oklch(36.7% 0.066 217.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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