#513D7B

Closest named color: Dark Slate Blue (#483D8B). oklch(41.2% 0.102 296.6), rgb(81, 61, 123).

Aa

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

About this color

#513D7B is a dark, moderately saturated purple. In OKLCH its lightness is 41%, its chroma 0.102 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.031 away. White text reads best on it, at 9.11:1.

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

Values

HEX#513D7B
RGBrgb(81, 61, 123)
HSLhsl(259, 34%, 36%)
OKLCHoklch(41.2% 0.102 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 #513D7B 9.11:1 AAA Lc -95.2 Preferred for body text
Black text on #513D7B 2.30:1 Fails Lc 13.1 Not readable
#513D7B text on white 9.11:1 AAA Lc 90.8 Preferred for body text
#513D7B text on black 2.30:1 Fails Lc -11.5 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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #EBE8F4

    oklch(93.7% 0.016 297.5)

  3. Step 200

    200

    #DBD5ED

    oklch(88.5% 0.033 297.2)

  4. Step 300

    300

    #C4B9E3

    oklch(80.9% 0.06 297)

  5. Step 400

    400

    #A694D5

    oklch(70.6% 0.095 296.6)

  6. Step 500

    500

    #9179CA

    oklch(63.2% 0.121 296.4)

  7. Step 600

    600

    #7C60B7

    oklch(55.6% 0.133 296.7)

  8. Step 700

    700

    #684F9D

    oklch(49% 0.123 296.4)

  9. Step 800

    800 (this color)

    #513D7B

    oklch(41.2% 0.102 296.6)

  10. Step 900

    900

    #463866

    oklch(37.8% 0.078 296.5)

  11. Step 950

    950

    #29213C

    oklch(27.1% 0.05 296.6)

Export this scale for Tailwind in the Tailwind colors tool

#513D7B 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)#28497D0.064
Deuteranopia (no green cones)#2C477A0.059
Tritanopia (no blue cones)#4849560.081
Achromatopsia (no color)#4848480.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #513D7B

    #513D7B

    oklch(41.2% 0.102 296.6)

  • #485100

    #485100

    oklch(41.3% 0.095 116.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #513D7B

    #513D7B

    oklch(41.2% 0.102 296.6)

  • #314782

    #314782

    oklch(41.1% 0.102 266.6)

  • #673568

    #673568

    oklch(41.3% 0.102 326.5)

Open the analogous palette in the generator

Split complementary

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

  • #513D7B

    #513D7B

    oklch(41.2% 0.102 296.6)

  • #5F4700

    #5F4700

    oklch(41.2% 0.084 86.4)

  • #1C5927

    #1C5927

    oklch(41.2% 0.102 146.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #513D7B

    #513D7B

    oklch(41.2% 0.102 296.6)

  • #723A00

    #723A00

    oklch(41.2% 0.1 57.1)

  • #00584A

    #00584A

    oklch(41.2% 0.076 177)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #513D7B

    #513D7B

    oklch(41.2% 0.102 296.6)

  • #79312C

    #79312C

    oklch(41.3% 0.102 26.5)

  • #485100

    #485100

    oklch(41.3% 0.095 116.9)

  • #00555E

    #00555E

    oklch(41.1% 0.07 207.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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