#512F50

Closest named color: Grape Purple (#5D1451). oklch(36.1% 0.071 328), rgb(81, 47, 80).

Aa

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

About this color

#512F50 is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.071 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.061 away. White text reads best on it, at 11.21:1.

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

Values

HEX#512F50
RGBrgb(81, 47, 80)
HSLhsl(302, 27%, 25%)
OKLCHoklch(36.1% 0.071 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 #512F50 11.21:1 AAA Lc -99.5 Preferred for body text
Black text on #512F50 1.87:1 Fails Lc 8.2 Not readable
#512F50 text on white 11.21:1 AAA Lc 95.7 Preferred for body text
#512F50 text on black 1.87: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

    #E4D3E3

    oklch(88.5% 0.028 327.6)

  4. Step 300

    300

    #D4B5D2

    oklch(80.9% 0.053 328.1)

  5. Step 400

    400

    #BE8EBC

    oklch(70.8% 0.085 327.8)

  6. Step 500

    500

    #AD71AB

    oklch(63.2% 0.109 327.9)

  7. Step 600

    600

    #985896

    oklch(55.6% 0.119 328.1)

  8. Step 700

    700

    #814880

    oklch(49.1% 0.109 327.7)

  9. Step 800

    800

    #693B68

    oklch(42.6% 0.092 327.8)

  10. Step 900

    900 (this color)

    #512F50

    oklch(36.1% 0.071 328)

  11. Step 950

    950

    #321E32

    oklch(26.9% 0.046 326.8)

Export this scale for Tailwind in the Tailwind colors tool

#512F50 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)#2D38510.067
Deuteranopia (no green cones)#363D4F0.061
Tritanopia (no blue cones)#53323B0.041
Achromatopsia (no color)#3B3B3B0.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #512F50

    #512F50

    oklch(36.1% 0.071 328)

  • #204727

    #204727

    oklch(36% 0.07 147.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512F50

    #512F50

    oklch(36.1% 0.071 328)

  • #42345D

    #42345D

    oklch(36% 0.071 298.5)

  • #5A2C3D

    #5A2C3D

    oklch(36% 0.071 357.8)

Open the analogous palette in the generator

Split complementary

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

  • #512F50

    #512F50

    oklch(36.1% 0.071 328)

  • #3A4211

    #3A4211

    oklch(36% 0.071 118.1)

  • #00483D

    #00483D

    oklch(35.9% 0.066 178.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512F50

    #512F50

    oklch(36.1% 0.071 328)

  • #4D3B05

    #4D3B05

    oklch(36.2% 0.071 88.2)

  • #00464E

    #00464E

    oklch(36% 0.062 207.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512F50

    #512F50

    oklch(36.1% 0.071 328)

  • #583313

    #583313

    oklch(36% 0.07 58.4)

  • #204727

    #204727

    oklch(36% 0.07 147.9)

  • #0F425E

    #0F425E

    oklch(36.1% 0.071 238)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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