#512F4E

Closest named color: Grape Purple (#5D1451). oklch(36% 0.068 330.1), rgb(81, 47, 78).

Aa

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

About this color

#512F4E is a dark, muted purple. In OKLCH its lightness is 36%, its chroma 0.068 and its hue 330°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.062 away. White text reads best on it, at 11.25:1.

Hue familyPurples
Lightnessdark (36%)
Chromamuted (0.068)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.86:1
White text11.25:1

Values

HEX#512F4E
RGBrgb(81, 47, 78)
HSLhsl(305, 27%, 25%)
OKLCHoklch(36% 0.068 330.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 #512F4E 11.25:1 AAA Lc -99.6 Preferred for body text
Black text on #512F4E 1.86:1 Fails Lc 8.1 Not readable
#512F4E text on white 11.25:1 AAA Lc 95.8 Preferred for body text
#512F4E text on black 1.86: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

    #E5D3E2

    oklch(88.6% 0.028 331.2)

  4. Step 300

    300

    #D4B5D1

    oklch(80.8% 0.052 329.2)

  5. Step 400

    400

    #BE8EB9

    oklch(70.6% 0.082 330)

  6. Step 500

    500

    #AD71A8

    oklch(63% 0.106 329.7)

  7. Step 600

    600

    #985993

    oklch(55.6% 0.114 329.9)

  8. Step 700

    700

    #82487D

    oklch(49.1% 0.107 330.3)

  9. Step 800

    800

    #6A3C66

    oklch(42.8% 0.088 330.2)

  10. Step 900

    900 (this color)

    #512F4E

    oklch(36% 0.068 330.1)

  11. Step 950

    950

    #321E30

    oklch(26.8% 0.043 330.2)

Export this scale for Tailwind in the Tailwind colors tool

#512F4E 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)#2E384F0.065
Deuteranopia (no green cones)#363C4D0.060
Tritanopia (no blue cones)#53313B0.036
Achromatopsia (no color)#3B3B3B0.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #512F4E

    #512F4E

    oklch(36% 0.068 330.1)

  • #1F4729

    #1F4729

    oklch(36% 0.069 149.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512F4E

    #512F4E

    oklch(36% 0.068 330.1)

  • #43345B

    #43345B

    oklch(36% 0.068 300.8)

  • #5A2D3B

    #5A2D3B

    oklch(36.1% 0.068 1.2)

Open the analogous palette in the generator

Split complementary

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

  • #512F4E

    #512F4E

    oklch(36% 0.068 330.1)

  • #384214

    #384214

    oklch(35.9% 0.069 120.4)

  • #00483E

    #00483E

    oklch(36% 0.065 179.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512F4E

    #512F4E

    oklch(36% 0.068 330.1)

  • #4B3B08

    #4B3B08

    oklch(36% 0.068 90)

  • #00464F

    #00464F

    oklch(36.1% 0.062 209.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512F4E

    #512F4E

    oklch(36% 0.068 330.1)

  • #573313

    #573313

    oklch(35.9% 0.069 59.2)

  • #1F4729

    #1F4729

    oklch(36% 0.069 149.9)

  • #14415D

    #14415D

    oklch(35.9% 0.068 240.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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