#511B45

Closest named color: Grape Purple (#5D1451). oklch(32.2% 0.098 337.3), rgb(81, 27, 69).

Aa

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

About this color

#511B45 is a dark, moderately saturated purple. In OKLCH its lightness is 32%, its chroma 0.098 and its hue 337°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.035 away. White text reads best on it, at 13.18:1.

Hue familyPurples
Lightnessdark (32%)
Chromamoderately saturated (0.098)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.59:1
White text13.18:1

Values

HEX#511B45
RGBrgb(81, 27, 69)
HSLhsl(313, 50%, 21%)
OKLCHoklch(32.2% 0.098 337.3)

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 #511B45 13.18:1 AAA Lc -102.3 Preferred for body text
Black text on #511B45 1.59:1 Fails Lc 0.0 Not readable
#511B45 text on white 13.18:1 AAA Lc 99.0 Preferred for body text
#511B45 text on black 1.59: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

    #FDF2F9

    oklch(97.2% 0.015 338.9)

  2. Step 100

    100

    #FAE2F2

    oklch(93.7% 0.033 338)

  3. Step 200

    200

    #F6C9E9

    oklch(88.4% 0.066 336.7)

  4. Step 300

    300

    #F1A3DC

    oklch(80.9% 0.117 337)

  5. Step 400

    400

    #E66CC9

    oklch(70.6% 0.185 337.4)

  6. Step 500

    500

    #DC38BB

    oklch(63.2% 0.237 337.6)

  7. Step 600

    600

    #C300A5

    oklch(55.6% 0.245 337.2)

  8. Step 700

    700

    #A5008B

    oklch(49.1% 0.216 337.3)

  9. Step 800

    800

    #880073

    oklch(42.7% 0.188 337)

  10. Step 900

    900

    #700C5E

    oklch(37.7% 0.155 337.4)

  11. Step 950

    950 (this color)

    #511B45

    oklch(32.2% 0.098 337.3)

Export this scale for Tailwind in the Tailwind colors tool

#511B45 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)#1C2B460.105
Deuteranopia (no green cones)#2D33440.091
Tritanopia (no blue cones)#551D2D0.046
Achromatopsia (no color)#3030300.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #511B45

    #511B45

    oklch(32.2% 0.098 337.3)

  • #003F23

    #003F23

    oklch(32.4% 0.077 156.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #511B45

    #511B45

    oklch(32.2% 0.098 337.3)

  • #412259

    #412259

    oklch(32.2% 0.098 307.8)

  • #5A172A

    #5A172A

    oklch(32.2% 0.098 7.6)

Open the analogous palette in the generator

Split complementary

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

  • #511B45

    #511B45

    oklch(32.2% 0.098 337.3)

  • #273B00

    #273B00

    oklch(32.3% 0.084 127.8)

  • #003C38

    #003C38

    oklch(32.1% 0.056 187.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #511B45

    #511B45

    oklch(32.2% 0.098 337.3)

  • #3D3300

    #3D3300

    oklch(32.2% 0.066 97.1)

  • #003A47

    #003A47

    oklch(32.2% 0.058 218.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #511B45

    #511B45

    oklch(32.2% 0.098 337.3)

  • #4B2B00

    #4B2B00

    oklch(32.2% 0.071 67.2)

  • #003F23

    #003F23

    oklch(32.4% 0.077 156.9)

  • #00355C

    #00355C

    oklch(32.1% 0.086 247.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #511B45.

Similar named colors

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

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