#511052

Closest named color: Plum Purple (#4E0550). oklch(31.8% 0.125 327.4), rgb(81, 16, 82).

Aa

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

About this color

#511052 is a dark, moderately saturated purple. In OKLCH its lightness is 32%, its chroma 0.125 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum Purple (#4E0550), ΔE 0.017 away. White text reads best on it, at 13.58:1.

Hue familyPurples
Lightnessdark (32%)
Chromamoderately saturated (0.125)
Temperaturein between
Nearest namePlum Purple (#4E0550)
Black text1.54:1
White text13.58:1

Values

HEX#511052
RGBrgb(81, 16, 82)
HSLhsl(299, 67%, 19%)
OKLCHoklch(31.8% 0.125 327.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 #511052 13.58:1 AAA Lc -102.5 Preferred for body text
Black text on #511052 1.54:1 Fails Lc 0.0 Not readable
#511052 text on white 13.58:1 AAA Lc 99.2 Preferred for body text
#511052 text on black 1.54: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 950.

  1. Step 50

    50

    #FDF1FC

    oklch(97.1% 0.019 328.3)

  2. Step 100

    100

    #FAE0F9

    oklch(93.5% 0.043 327.1)

  3. Step 200

    200

    #F7C6F6

    oklch(88.4% 0.084 326.9)

  4. Step 300

    300

    #F39DF2

    oklch(80.9% 0.148 327.2)

  5. Step 400

    400

    #E95BEB

    oklch(70.6% 0.238 327.2)

  6. Step 500

    500

    #DC00E0

    oklch(63% 0.291 327.4)

  7. Step 600

    600

    #BA00BE

    oklch(55.6% 0.257 327.2)

  8. Step 700

    700

    #9D00A0

    oklch(49% 0.226 327.4)

  9. Step 800

    800

    #820084

    oklch(42.7% 0.197 327.6)

  10. Step 900

    900

    #6D006F

    oklch(37.7% 0.174 327.4)

  11. Step 950

    950 (this color)

    #511052

    oklch(31.8% 0.125 327.4)

Export this scale for Tailwind in the Tailwind colors tool

#511052 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)#0229540.135
Deuteranopia (no green cones)#2131500.114
Tritanopia (no blue cones)#541B300.071
Achromatopsia (no color)#2E2E2E0.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #511052

    #511052

    oklch(31.8% 0.125 327.4)

  • #003E12

    #003E12

    oklch(31.7% 0.093 147.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #511052

    #511052

    oklch(31.8% 0.125 327.4)

  • #3B1C68

    #3B1C68

    oklch(31.7% 0.125 297.4)

  • #5F0433

    #5F0433

    oklch(31.9% 0.126 357.3)

Open the analogous palette in the generator

Split complementary

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

  • #511052

    #511052

    oklch(31.8% 0.125 327.4)

  • #303700

    #303700

    oklch(31.9% 0.074 117.3)

  • #003C32

    #003C32

    oklch(31.9% 0.059 177.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #511052

    #511052

    oklch(31.8% 0.125 327.4)

  • #403000

    #403000

    oklch(31.8% 0.065 88.4)

  • #003A40

    #003A40

    oklch(31.8% 0.054 206.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #511052

    #511052

    oklch(31.8% 0.125 327.4)

  • #4E2600

    #4E2600

    oklch(31.7% 0.076 57.4)

  • #003E12

    #003E12

    oklch(31.7% 0.093 147.3)

  • #003751

    #003751

    oklch(31.9% 0.069 236.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #511052 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.