#513D7E

Closest named color: Dark Slate Blue (#483D8B). oklch(41.4% 0.106 295.6), rgb(81, 61, 126).

Aa

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

About this color

#513D7E is a dark, moderately saturated purple. In OKLCH its lightness is 41%, its chroma 0.106 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.027 away. White text reads best on it, at 9.05:1.

Hue familyPurples
Lightnessdark (41%)
Chromamoderately saturated (0.106)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.31:1
White text9.05:1

Values

HEX#513D7E
RGBrgb(81, 61, 126)
HSLhsl(258, 35%, 37%)
OKLCHoklch(41.4% 0.106 295.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 #513D7E 9.05:1 AAA Lc -95.0 Preferred for body text
Black text on #513D7E 2.31:1 Fails Lc 13.3 Not readable
#513D7E text on white 9.05:1 AAA Lc 90.6 Preferred for body text
#513D7E text on black 2.31:1 Fails Lc -11.7 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 800.

  1. Step 50

    50

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EAE8F5

    oklch(93.6% 0.018 293.1)

  3. Step 200

    200

    #DAD5EE

    oklch(88.5% 0.034 294.9)

  4. Step 300

    300

    #C3B9E5

    oklch(80.9% 0.062 295.4)

  5. Step 400

    400

    #A594D8

    oklch(70.7% 0.099 295.2)

  6. Step 500

    500

    #9078CD

    oklch(63.1% 0.127 295.5)

  7. Step 600

    600

    #7B5FBA

    oklch(55.5% 0.138 295.8)

  8. Step 700

    700

    #684EA0

    oklch(49% 0.128 296)

  9. Step 800

    800 (this color)

    #513D7E

    oklch(41.4% 0.106 295.6)

  10. Step 900

    900

    #463768

    oklch(37.7% 0.083 296.3)

  11. Step 950

    950

    #29213D

    oklch(27.1% 0.052 295.9)

Export this scale for Tailwind in the Tailwind colors tool

#513D7E 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)#2549800.066
Deuteranopia (no green cones)#2A487C0.062
Tritanopia (no blue cones)#474A570.086
Achromatopsia (no color)#4949490.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #513D7E

    #513D7E

    oklch(41.4% 0.106 295.6)

  • #4A5100

    #4A5100

    oklch(41.4% 0.094 115.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #513D7E

    #513D7E

    oklch(41.4% 0.106 295.6)

  • #2F4885

    #2F4885

    oklch(41.5% 0.106 265.3)

  • #68346A

    #68346A

    oklch(41.4% 0.106 325.9)

Open the analogous palette in the generator

Split complementary

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

  • #513D7E

    #513D7E

    oklch(41.4% 0.106 295.6)

  • #604700

    #604700

    oklch(41.4% 0.085 85.5)

  • #1C5A24

    #1C5A24

    oklch(41.4% 0.106 145.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #513D7E

    #513D7E

    oklch(41.4% 0.106 295.6)

  • #743900

    #743900

    oklch(41.3% 0.102 55.1)

  • #005949

    #005949

    oklch(41.4% 0.078 175)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #513D7E

    #513D7E

    oklch(41.4% 0.106 295.6)

  • #7B302C

    #7B302C

    oklch(41.5% 0.106 25.8)

  • #4A5100

    #4A5100

    oklch(41.4% 0.094 115.4)

  • #00565E

    #00565E

    oklch(41.4% 0.071 205.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #513D7E 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.