#512A42

Closest named color: Grape Purple (#5D1451). oklch(34.5% 0.067 343.5), rgb(81, 42, 66).

Aa

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

About this color

#512A42 is a dark, muted purple. In OKLCH its lightness is 34%, its chroma 0.067 and its hue 344°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.061 away. White text reads best on it, at 11.93:1.

Hue familyPurples
Lightnessdark (34%)
Chromamuted (0.067)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.75:1
White text11.93:1

Values

HEX#512A42
RGBrgb(81, 42, 66)
HSLhsl(323, 32%, 24%)
OKLCHoklch(34.5% 0.067 343.5)

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 #512A42 11.93:1 AAA Lc -100.7 Preferred for body text
Black text on #512A42 1.75:1 Fails Lc 0.0 Not readable
#512A42 text on white 11.93:1 AAA Lc 97.1 Preferred for body text
#512A42 text on black 1.75: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

    #F9F4F6

    oklch(97.2% 0.006 350.8)

  2. Step 100

    100

    #F1E6EC

    oklch(93.5% 0.014 343.2)

  3. Step 200

    200

    #E7D2DE

    oklch(88.4% 0.028 342.3)

  4. Step 300

    300

    #D9B4C9

    oklch(80.9% 0.051 343.2)

  5. Step 400

    400

    #C58DAD

    oklch(70.8% 0.08 344.1)

  6. Step 500

    500

    #B56F99

    oklch(63% 0.104 343.7)

  7. Step 600

    600

    #A05784

    oklch(55.7% 0.112 343.6)

  8. Step 700

    700

    #894670

    oklch(49.1% 0.106 343.3)

  9. Step 800

    800

    #6F3A5B

    oklch(42.6% 0.087 343.3)

  10. Step 900

    900 (this color)

    #512A42

    oklch(34.5% 0.067 343.5)

  11. Step 950

    950

    #351E2C

    oklch(27.1% 0.042 343.1)

Export this scale for Tailwind in the Tailwind colors tool

#512A42 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)#2D33430.070
Deuteranopia (no green cones)#3739410.064
Tritanopia (no blue cones)#552A330.028
Achromatopsia (no color)#3737370.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #512A42

    #512A42

    oklch(34.5% 0.067 343.5)

  • #0C442F

    #0C442F

    oklch(34.5% 0.068 163)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512A42

    #512A42

    oklch(34.5% 0.067 343.5)

  • #462E52

    #462E52

    oklch(34.6% 0.068 313.8)

  • #57292F

    #57292F

    oklch(34.5% 0.068 13.1)

Open the analogous palette in the generator

Split complementary

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

  • #512A42

    #512A42

    oklch(34.5% 0.067 343.5)

  • #2B411A

    #2B411A

    oklch(34.6% 0.068 133.2)

  • #004342

    #004342

    oklch(34.6% 0.059 193.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512A42

    #512A42

    oklch(34.5% 0.067 343.5)

  • #3F3A07

    #3F3A07

    oklch(34.3% 0.067 103.5)

  • #004052

    #004052

    oklch(34.5% 0.065 223.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512A42

    #512A42

    oklch(34.5% 0.067 343.5)

  • #4E3308

    #4E3308

    oklch(34.5% 0.067 73.4)

  • #0C442F

    #0C442F

    oklch(34.5% 0.068 163)

  • #1E3A5B

    #1E3A5B

    oklch(34.4% 0.068 253.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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