#512D46

Closest named color: Grape Purple (#5D1451). oklch(35.2% 0.065 339.3), rgb(81, 45, 70).

Aa

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

About this color

#512D46 is a dark, muted purple. In OKLCH its lightness is 35%, its chroma 0.065 and its hue 339°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.064 away. White text reads best on it, at 11.57:1.

Hue familyPurples
Lightnessdark (35%)
Chromamuted (0.065)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.81:1
White text11.57:1

Values

HEX#512D46
RGBrgb(81, 45, 70)
HSLhsl(318, 29%, 25%)
OKLCHoklch(35.2% 0.065 339.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 #512D46 11.57:1 AAA Lc -100.2 Preferred for body text
Black text on #512D46 1.81:1 Fails Lc 7.4 Not readable
#512D46 text on white 11.57:1 AAA Lc 96.5 Preferred for body text
#512D46 text on black 1.81: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

    #F9F4F7

    oklch(97.2% 0.007 340.4)

  2. Step 100

    100

    #F1E6ED

    oklch(93.6% 0.015 338.9)

  3. Step 200

    200

    #E6D3DF

    oklch(88.6% 0.026 339.4)

  4. Step 300

    300

    #D7B5CB

    oklch(80.9% 0.049 339.3)

  5. Step 400

    400

    #C28EB0

    oklch(70.7% 0.077 339.9)

  6. Step 500

    500

    #B1719D

    oklch(63.1% 0.099 339.2)

  7. Step 600

    600

    #9C5988

    oklch(55.7% 0.107 339.2)

  8. Step 700

    700

    #854873

    oklch(49% 0.101 339.2)

  9. Step 800

    800

    #6C3C5E

    oklch(42.7% 0.082 338.8)

  10. Step 900

    900 (this color)

    #512D46

    oklch(35.2% 0.065 339.3)

  11. Step 950

    950

    #341E2D

    oklch(27% 0.042 339.5)

Export this scale for Tailwind in the Tailwind colors tool

#512D46 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)#2E35470.066
Deuteranopia (no green cones)#373B450.061
Tritanopia (no blue cones)#552E360.030
Achromatopsia (no color)#3939390.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #512D46

    #512D46

    oklch(35.2% 0.065 339.3)

  • #17452F

    #17452F

    oklch(35.2% 0.064 159.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512D46

    #512D46

    oklch(35.2% 0.065 339.3)

  • #453154

    #453154

    oklch(35.2% 0.064 309.7)

  • #572C34

    #572C34

    oklch(35.2% 0.064 9)

Open the analogous palette in the generator

Split complementary

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

  • #512D46

    #512D46

    oklch(35.2% 0.065 339.3)

  • #30421B

    #30421B

    oklch(35.3% 0.066 129.7)

  • #004542

    #004542

    oklch(35.2% 0.061 189.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512D46

    #512D46

    oklch(35.2% 0.065 339.3)

  • #433B0C

    #433B0C

    oklch(35.1% 0.064 99.3)

  • #004352

    #004352

    oklch(35.4% 0.064 218.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512D46

    #512D46

    oklch(35.2% 0.065 339.3)

  • #513410

    #513410

    oklch(35.2% 0.065 68.3)

  • #17452F

    #17452F

    oklch(35.2% 0.064 159.6)

  • #1E3D5B

    #1E3D5B

    oklch(35.1% 0.064 249.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #512D46 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.