#512F64

Closest named color: Grape Purple (#5D1451). oklch(37.2% 0.095 312.2), rgb(81, 47, 100).

Aa

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

About this color

#512F64 is a dark, moderately saturated purple. In OKLCH its lightness is 37%, its chroma 0.095 and its hue 312°. 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 10.82:1.

Hue familyPurples
Lightnessdark (37%)
Chromamoderately saturated (0.095)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.94:1
White text10.82:1

Values

HEX#512F64
RGBrgb(81, 47, 100)
HSLhsl(278, 36%, 29%)
OKLCHoklch(37.2% 0.095 312.2)

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 #512F64 10.82:1 AAA Lc -98.8 Preferred for body text
Black text on #512F64 1.94:1 Fails Lc 9.1 Not readable
#512F64 text on white 10.82:1 AAA Lc 94.8 Preferred for body text
#512F64 text on black 1.94:1 Fails Lc -7.8 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

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EFE6F4

    oklch(93.6% 0.021 313.8)

  3. Step 200

    200

    #E2D2ED

    oklch(88.5% 0.04 311.7)

  4. Step 300

    300

    #D0B4E2

    oklch(80.9% 0.07 312.1)

  5. Step 400

    400

    #B98BD4

    oklch(70.7% 0.115 312.4)

  6. Step 500

    500

    #A76CC8

    oklch(63% 0.146 312.4)

  7. Step 600

    600

    #9252B5

    oklch(55.5% 0.159 312.2)

  8. Step 700

    700

    #7C429C

    oklch(49% 0.148 311.9)

  9. Step 800

    800

    #65377E

    oklch(42.6% 0.122 312.2)

  10. Step 900

    900 (this color)

    #512F64

    oklch(37.2% 0.095 312.2)

  11. Step 950

    950

    #301D3B

    oklch(27% 0.059 312.1)

Export this scale for Tailwind in the Tailwind colors tool

#512F64 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)#223B660.080
Deuteranopia (no green cones)#2C3E630.072
Tritanopia (no blue cones)#4F37450.064
Achromatopsia (no color)#3D3D3D0.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #512F64

    #512F64

    oklch(37.2% 0.095 312.2)

  • #2C4A0A

    #2C4A0A

    oklch(37.2% 0.095 132.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512F64

    #512F64

    oklch(37.2% 0.095 312.2)

  • #3A3871

    #3A3871

    oklch(37.3% 0.095 282.3)

  • #61294E

    #61294E

    oklch(37.3% 0.095 342.4)

Open the analogous palette in the generator

Split complementary

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

  • #512F64

    #512F64

    oklch(37.2% 0.095 312.2)

  • #494100

    #494100

    oklch(37.2% 0.078 101.5)

  • #004D33

    #004D33

    oklch(37.2% 0.081 162.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512F64

    #512F64

    oklch(37.2% 0.095 312.2)

  • #5A3800

    #5A3800

    oklch(37.2% 0.08 71.7)

  • #004B49

    #004B49

    oklch(37.3% 0.064 191.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512F64

    #512F64

    oklch(37.2% 0.095 312.2)

  • #682B11

    #682B11

    oklch(37.1% 0.095 41.7)

  • #2C4A0A

    #2C4A0A

    oklch(37.2% 0.095 132.2)

  • #00485A

    #00485A

    oklch(37.2% 0.069 221.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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