#511E60

Closest named color: Grape Purple (#5D1451). oklch(34.3% 0.12 317.7), rgb(81, 30, 96).

Aa

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

About this color

#511E60 is a dark, moderately saturated purple. In OKLCH its lightness is 34%, its chroma 0.120 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.039 away. White text reads best on it, at 12.32:1.

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.120)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.70:1
White text12.32:1

Values

HEX#511E60
RGBrgb(81, 30, 96)
HSLhsl(286, 52%, 25%)
OKLCHoklch(34.3% 0.12 317.7)

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 #511E60 12.32:1 AAA Lc -101.0 Preferred for body text
Black text on #511E60 1.70:1 Fails Lc 0.0 Not readable
#511E60 text on white 12.32:1 AAA Lc 97.5 Preferred for body text
#511E60 text on black 1.70: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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F1E5F5

    oklch(93.6% 0.025 317.7)

  3. Step 200

    200

    #E7CFEF

    oklch(88.4% 0.05 317.7)

  4. Step 300

    300

    #D9AFE7

    oklch(81% 0.089 317.6)

  5. Step 400

    400

    #C582DB

    oklch(70.7% 0.144 317.5)

  6. Step 500

    500

    #B65ED0

    oklch(63.1% 0.184 318)

  7. Step 600

    600

    #A140BD

    oklch(55.6% 0.2 317.8)

  8. Step 700

    700

    #8A31A3

    oklch(49.2% 0.185 317.9)

  9. Step 800

    800

    #702A84

    oklch(42.7% 0.154 317.9)

  10. Step 900

    900 (this color)

    #511E60

    oklch(34.3% 0.12 317.7)

  11. Step 950

    950

    #35183E

    oklch(26.9% 0.076 317.6)

Export this scale for Tailwind in the Tailwind colors tool

#511E60 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)#0731620.117
Deuteranopia (no green cones)#20365E0.100
Tritanopia (no blue cones)#512A3C0.076
Achromatopsia (no color)#3535350.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #511E60

    #511E60

    oklch(34.3% 0.12 317.7)

  • #184400

    #184400

    oklch(34.2% 0.105 137.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #511E60

    #511E60

    oklch(34.3% 0.12 317.7)

  • #382972

    #382972

    oklch(34.3% 0.12 287.8)

  • #611544

    #611544

    oklch(34.3% 0.119 347.3)

Open the analogous palette in the generator

Split complementary

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

  • #511E60

    #511E60

    oklch(34.3% 0.12 317.7)

  • #3D3B00

    #3D3B00

    oklch(34.3% 0.074 107.6)

  • #004431

    #004431

    oklch(34.3% 0.07 167.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #511E60

    #511E60

    oklch(34.3% 0.12 317.7)

  • #4D3300

    #4D3300

    oklch(34.3% 0.072 77.5)

  • #004243

    #004243

    oklch(34.4% 0.059 196.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #511E60

    #511E60

    oklch(34.3% 0.12 317.7)

  • #5E2600

    #5E2600

    oklch(34.4% 0.094 48.1)

  • #184400

    #184400

    oklch(34.2% 0.105 137.7)

  • #003F54

    #003F54

    oklch(34.3% 0.067 228.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #511E60 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.