#513772

Closest named color: Dark Slate Blue (#483D8B). oklch(39.5% 0.1 302.4), rgb(81, 55, 114).

Aa

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

About this color

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

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

Values

HEX#513772
RGBrgb(81, 55, 114)
HSLhsl(266, 35%, 33%)
OKLCHoklch(39.5% 0.1 302.4)

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 #513772 9.81:1 AAA Lc -96.8 Preferred for body text
Black text on #513772 2.13:1 Fails Lc 11.4 Not readable
#513772 text on white 9.81:1 AAA Lc 92.6 Preferred for body text
#513772 text on black 2.13:1 Fails Lc -9.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

    #ECE7F6

    oklch(93.6% 0.021 301.1)

  3. Step 200

    200

    #DED3F0

    oklch(88.5% 0.041 302.8)

  4. Step 300

    300

    #CAB6E9

    oklch(81% 0.074 302.7)

  5. Step 400

    400

    #AF8EDE

    oklch(70.7% 0.119 302.4)

  6. Step 500

    500

    #9C6FD5

    oklch(63.1% 0.154 302.6)

  7. Step 600

    600

    #8755C2

    oklch(55.6% 0.166 302.5)

  8. Step 700

    700

    #7345A8

    oklch(49.2% 0.155 302.5)

  9. Step 800

    800

    #5D3988

    oklch(42.7% 0.128 302.3)

  10. Step 900

    900 (this color)

    #513772

    oklch(39.5% 0.1 302.4)

  11. Step 950

    950

    #2D1E40

    oklch(27.1% 0.063 302.8)

Export this scale for Tailwind in the Tailwind colors tool

#513772 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)#2543740.070
Deuteranopia (no green cones)#2C43710.064
Tritanopia (no blue cones)#4B424F0.076
Achromatopsia (no color)#4444440.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #513772

    #513772

    oklch(39.5% 0.1 302.4)

  • #3D4E00

    #3D4E00

    oklch(39.5% 0.097 122.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #513772

    #513772

    oklch(39.5% 0.1 302.4)

  • #35417B

    #35417B

    oklch(39.6% 0.099 272.4)

  • #642F5D

    #642F5D

    oklch(39.4% 0.099 332.5)

Open the analogous palette in the generator

Split complementary

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

  • #513772

    #513772

    oklch(39.5% 0.1 302.4)

  • #564400

    #564400

    oklch(39.4% 0.081 91.6)

  • #06552A

    #06552A

    oklch(39.5% 0.1 152.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #513772

    #513772

    oklch(39.5% 0.1 302.4)

  • #683900

    #683900

    oklch(39.5% 0.091 62)

  • #005249

    #005249

    oklch(39.4% 0.07 182.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #513772

    #513772

    oklch(39.5% 0.1 302.4)

  • #722E21

    #722E21

    oklch(39.5% 0.099 32.6)

  • #3D4E00

    #3D4E00

    oklch(39.5% 0.097 122.8)

  • #00505C

    #00505C

    oklch(39.6% 0.069 211.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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