#512D50

Closest named color: Grape Purple (#5D1451). oklch(35.7% 0.075 328), rgb(81, 45, 80).

Aa

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

About this color

#512D50 is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.075 and its hue 328°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.056 away. White text reads best on it, at 11.40:1.

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.075)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.84:1
White text11.40:1

Values

HEX#512D50
RGBrgb(81, 45, 80)
HSLhsl(302, 29%, 25%)
OKLCHoklch(35.7% 0.075 328)

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 #512D50 11.40:1 AAA Lc -99.8 Preferred for body text
Black text on #512D50 1.84:1 Fails Lc 7.8 Not readable
#512D50 text on white 11.40:1 AAA Lc 96.1 Preferred for body text
#512D50 text on black 1.84: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

    #F8F4F8

    oklch(97.1% 0.007 325.6)

  2. Step 100

    100

    #F0E6EF

    oklch(93.5% 0.016 328.8)

  3. Step 200

    200

    #E5D2E4

    oklch(88.5% 0.032 327.4)

  4. Step 300

    300

    #D5B4D3

    oklch(80.8% 0.056 328)

  5. Step 400

    400

    #BF8DBD

    oklch(70.7% 0.089 327.8)

  6. Step 500

    500

    #AF6FAC

    oklch(63.1% 0.115 328.5)

  7. Step 600

    600

    #9A5698

    oklch(55.6% 0.126 328.2)

  8. Step 700

    700

    #834682

    oklch(49.1% 0.117 327.8)

  9. Step 800

    800

    #6B3A69

    oklch(42.7% 0.096 328.6)

  10. Step 900

    900 (this color)

    #512D50

    oklch(35.7% 0.075 328)

  11. Step 950

    950

    #331E32

    oklch(27.1% 0.047 328.4)

Export this scale for Tailwind in the Tailwind colors tool

#512D50 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)#2B37510.071
Deuteranopia (no green cones)#343C4F0.065
Tritanopia (no blue cones)#53303A0.043
Achromatopsia (no color)#3A3A3A0.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #512D50

    #512D50

    oklch(35.7% 0.075 328)

  • #1D4725

    #1D4725

    oklch(35.8% 0.075 147.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512D50

    #512D50

    oklch(35.7% 0.075 328)

  • #41335E

    #41335E

    oklch(35.7% 0.074 297.5)

  • #5B2A3C

    #5B2A3C

    oklch(35.8% 0.075 358.3)

Open the analogous palette in the generator

Split complementary

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

  • #512D50

    #512D50

    oklch(35.7% 0.075 328)

  • #39410B

    #39410B

    oklch(35.6% 0.075 117.8)

  • #00473C

    #00473C

    oklch(35.6% 0.066 178)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512D50

    #512D50

    oklch(35.7% 0.075 328)

  • #4C3900

    #4C3900

    oklch(35.6% 0.073 87.6)

  • #00454D

    #00454D

    oklch(35.7% 0.061 207.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512D50

    #512D50

    oklch(35.7% 0.075 328)

  • #59310D

    #59310D

    oklch(35.7% 0.075 58)

  • #1D4725

    #1D4725

    oklch(35.8% 0.075 147.9)

  • #07415F

    #07415F

    oklch(35.7% 0.075 238.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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