#513987

Closest named color: Dark Slate Blue (#483D8B). oklch(41.3% 0.125 294.5), rgb(81, 57, 135).

Aa

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

About this color

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

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

Values

HEX#513987
RGBrgb(81, 57, 135)
HSLhsl(258, 41%, 38%)
OKLCHoklch(41.3% 0.125 294.5)

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 #513987 9.19:1 AAA Lc -95.3 Preferred for body text
Black text on #513987 2.28:1 Fails Lc 13.1 Not readable
#513987 text on white 9.19:1 AAA Lc 90.9 Preferred for body text
#513987 text on black 2.28:1 Fails Lc -11.4 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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #EAE7F7

    oklch(93.5% 0.022 294.6)

  3. Step 200

    200

    #DAD4F2

    oklch(88.4% 0.041 294.7)

  4. Step 300

    300

    #C3B8EC

    oklch(80.9% 0.073 294.4)

  5. Step 400

    400

    #A591E2

    oklch(70.6% 0.118 294.5)

  6. Step 500

    500

    #9074DA

    oklch(63% 0.15 294.3)

  7. Step 600

    600

    #7B5AC7

    oklch(55.5% 0.163 294.4)

  8. Step 700

    700

    #684AAC

    oklch(49.1% 0.151 294.3)

  9. Step 800

    800 (this color)

    #513987

    oklch(41.3% 0.125 294.5)

  10. Step 900

    900

    #46356F

    oklch(37.7% 0.097 294.8)

  11. Step 950

    950

    #291F41

    oklch(26.9% 0.062 295.5)

Export this scale for Tailwind in the Tailwind colors tool

#513987 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)#12488A0.082
Deuteranopia (no green cones)#1A46850.077
Tritanopia (no blue cones)#43495A0.099
Achromatopsia (no color)#4848480.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #513987

    #513987

    oklch(41.3% 0.125 294.5)

  • #4A5000

    #4A5000

    oklch(41.2% 0.093 114.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #513987

    #513987

    oklch(41.3% 0.125 294.5)

  • #28468E

    #28468E

    oklch(41.3% 0.125 264.5)

  • #6B2E70

    #6B2E70

    oklch(41.3% 0.125 324.5)

Open the analogous palette in the generator

Split complementary

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

  • #513987

    #513987

    oklch(41.3% 0.125 294.5)

  • #604600

    #604600

    oklch(41.1% 0.084 84.3)

  • #0B5B16

    #0B5B16

    oklch(41.1% 0.125 144.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #513987

    #513987

    oklch(41.3% 0.125 294.5)

  • #743800

    #743800

    oklch(41.2% 0.103 54.2)

  • #005948

    #005948

    oklch(41.4% 0.079 173.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #513987

    #513987

    oklch(41.3% 0.125 294.5)

  • #822727

    #822727

    oklch(41.4% 0.125 24.4)

  • #4A5000

    #4A5000

    oklch(41.2% 0.093 114.6)

  • #00565D

    #00565D

    oklch(41.3% 0.07 204.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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