#513874

Closest named color: Dark Slate Blue (#483D8B). oklch(39.8% 0.101 301.2), rgb(81, 56, 116).

Aa

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

About this color

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

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

Values

HEX#513874
RGBrgb(81, 56, 116)
HSLhsl(265, 35%, 34%)
OKLCHoklch(39.8% 0.101 301.2)

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 #513874 9.68:1 AAA Lc -96.5 Preferred for body text
Black text on #513874 2.16:1 Fails Lc 11.7 Not readable
#513874 text on white 9.68:1 AAA Lc 92.3 Preferred for body text
#513874 text on black 2.16:1 Fails Lc -10.2 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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #ECE7F7

    oklch(93.7% 0.022 300.2)

  3. Step 200

    200

    #DED3F1

    oklch(88.5% 0.042 302.2)

  4. Step 300

    300

    #C9B6EA

    oklch(81% 0.075 301.4)

  5. Step 400

    400

    #AE8EE0

    oklch(70.7% 0.121 301.3)

  6. Step 500

    500

    #9A70D7

    oklch(63.1% 0.154 300.9)

  7. Step 600

    600

    #8655C4

    oklch(55.6% 0.168 301.5)

  8. Step 700

    700

    #7145A9

    oklch(49.1% 0.155 301.1)

  9. Step 800

    800

    #5C3989

    oklch(42.6% 0.13 301.3)

  10. Step 900

    900 (this color)

    #513874

    oklch(39.8% 0.101 301.2)

  11. Step 950

    950

    #2C1E40

    oklch(27% 0.063 301.3)

Export this scale for Tailwind in the Tailwind colors tool

#513874 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)#2544760.070
Deuteranopia (no green cones)#2B44730.064
Tritanopia (no blue cones)#4A43500.078
Achromatopsia (no color)#4444440.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #513874

    #513874

    oklch(39.8% 0.101 301.2)

  • #404E00

    #404E00

    oklch(39.7% 0.095 120.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #513874

    #513874

    oklch(39.8% 0.101 301.2)

  • #34427D

    #34427D

    oklch(39.9% 0.101 271.2)

  • #653060

    #653060

    oklch(39.8% 0.101 330.9)

Open the analogous palette in the generator

Split complementary

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

  • #513874

    #513874

    oklch(39.8% 0.101 301.2)

  • #574500

    #574500

    oklch(39.8% 0.081 91.8)

  • #0B5629

    #0B5629

    oklch(39.9% 0.101 151)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #513874

    #513874

    oklch(39.8% 0.101 301.2)

  • #6A3900

    #6A3900

    oklch(39.8% 0.093 60.7)

  • #005349

    #005349

    oklch(39.7% 0.071 181.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #513874

    #513874

    oklch(39.8% 0.101 301.2)

  • #742E23

    #742E23

    oklch(39.8% 0.101 31)

  • #404E00

    #404E00

    oklch(39.7% 0.095 120.7)

  • #00515C

    #00515C

    oklch(39.9% 0.069 210.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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