#511C4A

Closest named color: Grape Purple (#5D1451). oklch(32.6% 0.101 333.1), rgb(81, 28, 74).

Aa

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

About this color

#511C4A is a dark, moderately saturated purple. In OKLCH its lightness is 33%, its chroma 0.101 and its hue 333°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.030 away. White text reads best on it, at 13.00:1.

Hue familyPurples
Lightnessdark (33%)
Chromamoderately saturated (0.101)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.61:1
White text13.00:1

Values

HEX#511C4A
RGBrgb(81, 28, 74)
HSLhsl(308, 49%, 21%)
OKLCHoklch(32.6% 0.101 333.1)

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 #511C4A 13.00:1 AAA Lc -102.1 Preferred for body text
Black text on #511C4A 1.61:1 Fails Lc 0.0 Not readable
#511C4A text on white 13.00:1 AAA Lc 98.7 Preferred for body text
#511C4A text on black 1.61: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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F3E5F0

    oklch(93.6% 0.021 332.9)

  3. Step 200

    200

    #EBCFE5

    oklch(88.4% 0.043 333.3)

  4. Step 300

    300

    #DFAFD6

    oklch(80.9% 0.076 332.8)

  5. Step 400

    400

    #CD83C1

    oklch(70.7% 0.121 332.8)

  6. Step 500

    500

    #BF61B1

    oklch(63.1% 0.156 333.1)

  7. Step 600

    600

    #AA459C

    oklch(55.6% 0.168 333.3)

  8. Step 700

    700

    #923686

    oklch(49.2% 0.157 333.2)

  9. Step 800

    800

    #762E6D

    oklch(42.7% 0.129 332.7)

  10. Step 900

    900 (this color)

    #511C4A

    oklch(32.6% 0.101 333.1)

  11. Step 950

    950

    #381934

    oklch(26.9% 0.064 332.2)

Export this scale for Tailwind in the Tailwind colors tool

#511C4A 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)#1B2C4B0.105
Deuteranopia (no green cones)#2B34490.093
Tritanopia (no blue cones)#5520300.052
Achromatopsia (no color)#3131310.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #511C4A

    #511C4A

    oklch(32.6% 0.101 333.1)

  • #00401E

    #00401E

    oklch(32.6% 0.084 152.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #511C4A

    #511C4A

    oklch(32.6% 0.101 333.1)

  • #3F245E

    #3F245E

    oklch(32.6% 0.101 302.7)

  • #5B172F

    #5B172F

    oklch(32.5% 0.101 3.1)

Open the analogous palette in the generator

Split complementary

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

  • #511C4A

    #511C4A

    oklch(32.6% 0.101 333.1)

  • #2D3B00

    #2D3B00

    oklch(32.8% 0.081 123.2)

  • #003E37

    #003E37

    oklch(32.7% 0.058 182.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #511C4A

    #511C4A

    oklch(32.6% 0.101 333.1)

  • #403300

    #403300

    oklch(32.6% 0.067 93.2)

  • #003C46

    #003C46

    oklch(32.7% 0.057 212.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #511C4A

    #511C4A

    oklch(32.6% 0.101 333.1)

  • #4E2A00

    #4E2A00

    oklch(32.5% 0.074 62.9)

  • #00401E

    #00401E

    oklch(32.6% 0.084 152.9)

  • #003859

    #003859

    oklch(32.7% 0.078 242.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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