#512464

Closest named color: Grape Purple (#5D1451). oklch(35.4% 0.115 314.6), rgb(81, 36, 100).

Aa

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

About this color

#512464 is a dark, moderately saturated purple. In OKLCH its lightness is 35%, its chroma 0.115 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.047 away. White text reads best on it, at 11.75:1.

Hue familyPurples
Lightnessdark (35%)
Chromamoderately saturated (0.115)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.78:1
White text11.75:1

Values

HEX#512464
RGBrgb(81, 36, 100)
HSLhsl(282, 47%, 27%)
OKLCHoklch(35.4% 0.115 314.6)

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 #512464 11.75:1 AAA Lc -100.2 Preferred for body text
Black text on #512464 1.78:1 Fails Lc 7.3 Not readable
#512464 text on white 11.75:1 AAA Lc 96.5 Preferred for body text
#512464 text on black 1.78: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

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #F0E5F6

    oklch(93.6% 0.025 314)

  3. Step 200

    200

    #E5D0F0

    oklch(88.5% 0.049 314.2)

  4. Step 300

    300

    #D5B0E8

    oklch(80.8% 0.087 314.1)

  5. Step 400

    400

    #C085DC

    oklch(70.7% 0.138 314.3)

  6. Step 500

    500

    #B063D2

    oklch(63.2% 0.176 314.5)

  7. Step 600

    600

    #9B46BF

    oklch(55.6% 0.191 314.4)

  8. Step 700

    700

    #8536A4

    oklch(49.1% 0.178 315)

  9. Step 800

    800

    #6C2E85

    oklch(42.7% 0.147 314.9)

  10. Step 900

    900 (this color)

    #512464

    oklch(35.4% 0.115 314.6)

  11. Step 950

    950

    #331A3F

    oklch(27.1% 0.072 313.7)

Export this scale for Tailwind in the Tailwind colors tool

#512464 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)#1035660.105
Deuteranopia (no green cones)#2239620.093
Tritanopia (no blue cones)#4F2F400.076
Achromatopsia (no color)#3838380.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #512464

    #512464

    oklch(35.4% 0.115 314.6)

  • #224600

    #224600

    oklch(35.3% 0.102 134.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512464

    #512464

    oklch(35.4% 0.115 314.6)

  • #372F74

    #372F74

    oklch(35.5% 0.114 284.2)

  • #621B49

    #621B49

    oklch(35.3% 0.115 344.8)

Open the analogous palette in the generator

Split complementary

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

  • #512464

    #512464

    oklch(35.4% 0.115 314.6)

  • #423D00

    #423D00

    oklch(35.4% 0.075 104.4)

  • #004731

    #004731

    oklch(35.2% 0.074 164.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512464

    #512464

    oklch(35.4% 0.115 314.6)

  • #523500

    #523500

    oklch(35.5% 0.075 75.2)

  • #004545

    #004545

    oklch(35.3% 0.06 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512464

    #512464

    oklch(35.4% 0.115 314.6)

  • #652500

    #652500

    oklch(35.5% 0.102 44.5)

  • #224600

    #224600

    oklch(35.3% 0.102 134.4)

  • #004255

    #004255

    oklch(35.2% 0.067 224.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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