#512143

Closest named color: Grape Purple (#5D1451). oklch(33% 0.086 340), rgb(81, 33, 67).

Aa

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

About this color

#512143 is a dark, moderately saturated purple. In OKLCH its lightness is 33%, its chroma 0.086 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.043 away. White text reads best on it, at 12.73:1.

Hue familyPurples
Lightnessdark (33%)
Chromamoderately saturated (0.086)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.64:1
White text12.73:1

Values

HEX#512143
RGBrgb(81, 33, 67)
HSLhsl(317, 42%, 22%)
OKLCHoklch(33% 0.086 340)

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 #512143 12.73:1 AAA Lc -101.8 Preferred for body text
Black text on #512143 1.64:1 Fails Lc 0.0 Not readable
#512143 text on white 12.73:1 AAA Lc 98.4 Preferred for body text
#512143 text on black 1.64: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

    #FAF3F7

    oklch(97.1% 0.009 341.8)

  2. Step 100

    100

    #F3E5EE

    oklch(93.6% 0.019 338.7)

  3. Step 200

    200

    #EAD0E1

    oklch(88.4% 0.037 338.7)

  4. Step 300

    300

    #DEB1CE

    oklch(80.9% 0.064 339.8)

  5. Step 400

    400

    #CC87B5

    oklch(70.8% 0.103 340)

  6. Step 500

    500

    #BD67A2

    oklch(63.1% 0.132 340.2)

  7. Step 600

    600

    #A84D8D

    oklch(55.6% 0.142 340.2)

  8. Step 700

    700

    #903D78

    oklch(49.1% 0.133 340.1)

  9. Step 800

    800

    #753362

    oklch(42.7% 0.111 339.8)

  10. Step 900

    900 (this color)

    #512143

    oklch(33% 0.086 340)

  11. Step 950

    950

    #381B2F

    oklch(27.1% 0.055 339.9)

Export this scale for Tailwind in the Tailwind colors tool

#512143 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)#232E440.091
Deuteranopia (no green cones)#3135420.080
Tritanopia (no blue cones)#56222F0.039
Achromatopsia (no color)#3232320.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #512143

    #512143

    oklch(33% 0.086 340)

  • #004128

    #004128

    oklch(33.1% 0.075 160.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512143

    #512143

    oklch(33% 0.086 340)

  • #432756

    #432756

    oklch(33.1% 0.086 310)

  • #591F2B

    #591F2B

    oklch(33.1% 0.086 10.4)

Open the analogous palette in the generator

Split complementary

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

  • #512143

    #512143

    oklch(33% 0.086 340)

  • #263D03

    #263D03

    oklch(32.9% 0.085 129.9)

  • #003E3C

    #003E3C

    oklch(32.9% 0.057 191.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512143

    #512143

    oklch(33% 0.086 340)

  • #3E3600

    #3E3600

    oklch(33.1% 0.069 100.1)

  • #003C4B

    #003C4B

    oklch(33% 0.06 220.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512143

    #512143

    oklch(33% 0.086 340)

  • #4C2E00

    #4C2E00

    oklch(33% 0.071 70.9)

  • #004128

    #004128

    oklch(33.1% 0.075 160.1)

  • #08375F

    #08375F

    oklch(33% 0.085 249.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #512143 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.