#512442

Closest named color: Grape Purple (#5D1451). oklch(33.4% 0.079 341.7), rgb(81, 36, 66).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (33%)
Chromamoderately saturated (0.079)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.68:1
White text12.49:1

Values

HEX#512442
RGBrgb(81, 36, 66)
HSLhsl(320, 38%, 23%)
OKLCHoklch(33.4% 0.079 341.7)

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 #512442 12.49:1 AAA Lc -101.5 Preferred for body text
Black text on #512442 1.68:1 Fails Lc 0.0 Not readable
#512442 text on white 12.49:1 AAA Lc 98.1 Preferred for body text
#512442 text on black 1.68: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

    #F9F3F7

    oklch(97% 0.008 337.4)

  2. Step 100

    100

    #F3E6ED

    oklch(93.7% 0.017 343.6)

  3. Step 200

    200

    #E9D1DF

    oklch(88.5% 0.032 341.8)

  4. Step 300

    300

    #DCB2CC

    oklch(80.9% 0.059 340.9)

  5. Step 400

    400

    #CA89B2

    oklch(70.8% 0.095 341.5)

  6. Step 500

    500

    #BA6A9E

    oklch(63% 0.121 341.7)

  7. Step 600

    600

    #A65089

    oklch(55.6% 0.133 341.9)

  8. Step 700

    700

    #8E4174

    oklch(49.2% 0.122 342.1)

  9. Step 800

    800

    #73365F

    oklch(42.7% 0.101 341.4)

  10. Step 900

    900 (this color)

    #512442

    oklch(33.4% 0.079 341.7)

  11. Step 950

    950

    #371C2D

    oklch(27% 0.05 342.6)

Export this scale for Tailwind in the Tailwind colors tool

#512442 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)#272F430.083
Deuteranopia (no green cones)#3336410.074
Tritanopia (no blue cones)#5624300.034
Achromatopsia (no color)#3434340.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #512442

    #512442

    oklch(33.4% 0.079 341.7)

  • #00422A

    #00422A

    oklch(33.5% 0.074 161.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512442

    #512442

    oklch(33.4% 0.079 341.7)

  • #442954

    #442954

    oklch(33.5% 0.08 311.7)

  • #58222C

    #58222C

    oklch(33.4% 0.08 11.1)

Open the analogous palette in the generator

Split complementary

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

  • #512442

    #512442

    oklch(33.4% 0.079 341.7)

  • #273E0D

    #273E0D

    oklch(33.3% 0.079 131.3)

  • #00403E

    #00403E

    oklch(33.6% 0.058 191.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512442

    #512442

    oklch(33.4% 0.079 341.7)

  • #3E3700

    #3E3700

    oklch(33.4% 0.07 101.5)

  • #003D4D

    #003D4D

    oklch(33.4% 0.062 222.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512442

    #512442

    oklch(33.4% 0.079 341.7)

  • #4D2F00

    #4D2F00

    oklch(33.4% 0.072 71.4)

  • #00422A

    #00422A

    oklch(33.5% 0.074 161.3)

  • #12385E

    #12385E

    oklch(33.5% 0.08 251.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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