#513386

Closest named color: Dark Slate Blue (#483D8B). oklch(40.2% 0.133 296.6), rgb(81, 51, 134).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (40%)
Chromamoderately saturated (0.133)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.16:1
White text9.68:1

Values

HEX#513386
RGBrgb(81, 51, 134)
HSLhsl(262, 45%, 36%)
OKLCHoklch(40.2% 0.133 296.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 #513386 9.68:1 AAA Lc -96.3 Preferred for body text
Black text on #513386 2.16:1 Fails Lc 11.9 Not readable
#513386 text on white 9.68:1 AAA Lc 92.1 Preferred for body text
#513386 text on black 2.16:1 Fails Lc -10.3 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

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #EBE6FB

    oklch(93.5% 0.029 296.7)

  3. Step 200

    200

    #DCD2FA

    oklch(88.4% 0.055 296.7)

  4. Step 300

    300

    #C7B3FA

    oklch(80.9% 0.101 297)

  5. Step 400

    400

    #AB88F7

    oklch(70.6% 0.16 296.6)

  6. Step 500

    500

    #9866F4

    oklch(63.1% 0.204 296.3)

  7. Step 600

    600

    #8447E2

    oklch(55.5% 0.222 296.5)

  8. Step 700

    700

    #7036C5

    oklch(49% 0.207 296.4)

  9. Step 800

    800

    #5B2F9F

    oklch(42.7% 0.171 296.4)

  10. Step 900

    900 (this color)

    #513386

    oklch(40.2% 0.133 296.6)

  11. Step 950

    950

    #2B1B4A

    oklch(27% 0.084 296)

Export this scale for Tailwind in the Tailwind colors tool

#513386 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)#0045890.094
Deuteranopia (no green cones)#0E43840.089
Tritanopia (no blue cones)#4445570.104
Achromatopsia (no color)#4444440.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #513386

    #513386

    oklch(40.2% 0.133 296.6)

  • #464E00

    #464E00

    oklch(40.3% 0.092 116.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #513386

    #513386

    oklch(40.2% 0.133 296.6)

  • #27418F

    #27418F

    oklch(40.2% 0.133 266.5)

  • #6B276D

    #6B276D

    oklch(40.2% 0.133 326.6)

Open the analogous palette in the generator

Split complementary

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

  • #513386

    #513386

    oklch(40.2% 0.133 296.6)

  • #5B4400

    #5B4400

    oklch(40% 0.082 86.6)

  • #00581A

    #00581A

    oklch(40.1% 0.121 146.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #513386

    #513386

    oklch(40.2% 0.133 296.6)

  • #6E3800

    #6E3800

    oklch(40.2% 0.097 57.3)

  • #005547

    #005547

    oklch(40.2% 0.075 176.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #513386

    #513386

    oklch(40.2% 0.133 296.6)

  • #811F1D

    #811F1D

    oklch(40.2% 0.133 26.5)

  • #464E00

    #464E00

    oklch(40.3% 0.092 116.3)

  • #00525B

    #00525B

    oklch(40.1% 0.069 207.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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