#512A48

Closest named color: Grape Purple (#5D1451). oklch(34.8% 0.073 336.2), rgb(81, 42, 72).

Aa

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

About this color

#512A48 is a dark, moderately saturated purple. In OKLCH its lightness is 35%, its chroma 0.073 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.055 away. White text reads best on it, at 11.83:1.

Hue familyPurples
Lightnessdark (35%)
Chromamoderately saturated (0.073)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.77:1
White text11.83:1

Values

HEX#512A48
RGBrgb(81, 42, 72)
HSLhsl(314, 32%, 24%)
OKLCHoklch(34.8% 0.073 336.2)

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 #512A48 11.83:1 AAA Lc -100.5 Preferred for body text
Black text on #512A48 1.77:1 Fails Lc 0.0 Not readable
#512A48 text on white 11.83:1 AAA Lc 96.9 Preferred for body text
#512A48 text on black 1.77: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

    #F1E6EE

    oklch(93.6% 0.016 335.1)

  3. Step 200

    200

    #E7D2E1

    oklch(88.5% 0.031 335.9)

  4. Step 300

    300

    #D8B4CE

    oklch(80.9% 0.054 336.1)

  5. Step 400

    400

    #C48CB5

    oklch(70.8% 0.087 336.6)

  6. Step 500

    500

    #B36EA3

    oklch(63% 0.112 335.8)

  7. Step 600

    600

    #9E558E

    oklch(55.5% 0.121 335.8)

  8. Step 700

    700

    #874578

    oklch(49% 0.112 336.4)

  9. Step 800

    800

    #6E3962

    oklch(42.6% 0.094 336.2)

  10. Step 900

    900 (this color)

    #512A48

    oklch(34.8% 0.073 336.2)

  11. Step 950

    950

    #341D2F

    oklch(26.9% 0.046 335.1)

Export this scale for Tailwind in the Tailwind colors tool

#512A48 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)#2A34490.074
Deuteranopia (no green cones)#353A470.067
Tritanopia (no blue cones)#552B350.036
Achromatopsia (no color)#3737370.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #512A48

    #512A48

    oklch(34.8% 0.073 336.2)

  • #11452A

    #11452A

    oklch(34.8% 0.072 156.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512A48

    #512A48

    oklch(34.8% 0.073 336.2)

  • #432F57

    #432F57

    oklch(34.7% 0.072 306)

  • #592834

    #592834

    oklch(34.8% 0.073 6.2)

Open the analogous palette in the generator

Split complementary

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

  • #512A48

    #512A48

    oklch(34.8% 0.073 336.2)

  • #304012

    #304012

    oklch(34.6% 0.072 126.2)

  • #00443F

    #00443F

    oklch(34.8% 0.061 186.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512A48

    #512A48

    oklch(34.8% 0.073 336.2)

  • #453900

    #453900

    oklch(34.7% 0.071 95.8)

  • #00424E

    #00424E

    oklch(34.9% 0.062 214.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512A48

    #512A48

    oklch(34.8% 0.073 336.2)

  • #533106

    #533106

    oklch(34.8% 0.073 66)

  • #11452A

    #11452A

    oklch(34.8% 0.072 156.4)

  • #143D5D

    #143D5D

    oklch(34.8% 0.072 245.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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