#512E6A

Closest named color: Dark Slate Blue (#483D8B). oklch(37.4% 0.105 309.1), rgb(81, 46, 106).

Aa

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

About this color

#512E6A is a dark, moderately saturated purple. In OKLCH its lightness is 37%, its chroma 0.105 and its hue 309°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.064 away. White text reads best on it, at 10.77:1.

Hue familyPurples
Lightnessdark (37%)
Chromamoderately saturated (0.105)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text1.94:1
White text10.77:1

Values

HEX#512E6A
RGBrgb(81, 46, 106)
HSLhsl(275, 39%, 30%)
OKLCHoklch(37.4% 0.105 309.1)

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 #512E6A 10.77:1 AAA Lc -98.6 Preferred for body text
Black text on #512E6A 1.94:1 Fails Lc 9.2 Not readable
#512E6A text on white 10.77:1 AAA Lc 94.7 Preferred for body text
#512E6A text on black 1.94:1 Fails Lc -7.9 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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EEE6F6

    oklch(93.6% 0.023 308.2)

  3. Step 200

    200

    #E2D2F0

    oklch(88.6% 0.044 309.3)

  4. Step 300

    300

    #D0B3E8

    oklch(80.9% 0.08 309.4)

  5. Step 400

    400

    #B88ADC

    oklch(70.8% 0.126 309.2)

  6. Step 500

    500

    #A66AD2

    oklch(63.1% 0.161 309.1)

  7. Step 600

    600

    #914FBF

    oklch(55.6% 0.174 309)

  8. Step 700

    700

    #7C3FA5

    oklch(49.2% 0.163 309.2)

  9. Step 800

    800

    #653585

    oklch(42.8% 0.134 309.6)

  10. Step 900

    900 (this color)

    #512E6A

    oklch(37.4% 0.105 309.1)

  11. Step 950

    950

    #301C3F

    oklch(27% 0.067 309)

Export this scale for Tailwind in the Tailwind colors tool

#512E6A 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)#1C3C6C0.086
Deuteranopia (no green cones)#283E690.077
Tritanopia (no blue cones)#4E39470.075
Achromatopsia (no color)#3E3E3E0.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #512E6A

    #512E6A

    oklch(37.4% 0.105 309.1)

  • #304A00

    #304A00

    oklch(37.4% 0.099 128.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512E6A

    #512E6A

    oklch(37.4% 0.105 309.1)

  • #363876

    #363876

    oklch(37.4% 0.104 278.7)

  • #632653

    #632653

    oklch(37.4% 0.106 338.9)

Open the analogous palette in the generator

Split complementary

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

  • #512E6A

    #512E6A

    oklch(37.4% 0.105 309.1)

  • #4B4100

    #4B4100

    oklch(37.4% 0.078 99.4)

  • #004E30

    #004E30

    oklch(37.4% 0.085 159.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512E6A

    #512E6A

    oklch(37.4% 0.105 309.1)

  • #5C3700

    #5C3700

    oklch(37.3% 0.082 68.7)

  • #004B48

    #004B48

    oklch(37.3% 0.064 190.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512E6A

    #512E6A

    oklch(37.4% 0.105 309.1)

  • #6D280E

    #6D280E

    oklch(37.5% 0.105 39.4)

  • #304A00

    #304A00

    oklch(37.4% 0.099 128.9)

  • #004959

    #004959

    oklch(37.5% 0.068 218.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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