#513B7F

Closest named color: Dark Slate Blue (#483D8B). oklch(41.1% 0.111 296.1), rgb(81, 59, 127).

Aa

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

About this color

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

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

Values

HEX#513B7F
RGBrgb(81, 59, 127)
HSLhsl(259, 37%, 36%)
OKLCHoklch(41.1% 0.111 296.1)

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 #513B7F 9.20:1 AAA Lc -95.4 Preferred for body text
Black text on #513B7F 2.28:1 Fails Lc 13.0 Not readable
#513B7F text on white 9.20:1 AAA Lc 91.0 Preferred for body text
#513B7F text on black 2.28:1 Fails Lc -11.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 800.

  1. Step 50

    50

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EBE8F5

    oklch(93.7% 0.018 296.6)

  3. Step 200

    200

    #DBD5EF

    oklch(88.6% 0.036 296.2)

  4. Step 300

    300

    #C4B9E6

    oklch(81% 0.064 296.2)

  5. Step 400

    400

    #A693DA

    oklch(70.7% 0.104 295.9)

  6. Step 500

    500

    #9177D0

    oklch(63.1% 0.132 295.8)

  7. Step 600

    600

    #7C5EBD

    oklch(55.6% 0.144 295.9)

  8. Step 700

    700

    #694DA3

    oklch(49.1% 0.134 296.1)

  9. Step 800

    800 (this color)

    #513B7F

    oklch(41.1% 0.111 296.1)

  10. Step 900

    900

    #46366A

    oklch(37.6% 0.088 296.1)

  11. Step 950

    950

    #29203E

    oklch(27% 0.055 296.3)

Export this scale for Tailwind in the Tailwind colors tool

#513B7F 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)#2148810.071
Deuteranopia (no green cones)#26477D0.067
Tritanopia (no blue cones)#4648570.087
Achromatopsia (no color)#4848480.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #513B7F

    #513B7F

    oklch(41.1% 0.111 296.1)

  • #485000

    #485000

    oklch(41% 0.094 116.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #513B7F

    #513B7F

    oklch(41.1% 0.111 296.1)

  • #2E4686

    #2E4686

    oklch(41% 0.111 266.2)

  • #68326A

    #68326A

    oklch(41.1% 0.11 326)

Open the analogous palette in the generator

Split complementary

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

  • #513B7F

    #513B7F

    oklch(41.1% 0.111 296.1)

  • #5F4700

    #5F4700

    oklch(41.2% 0.084 86.4)

  • #155A21

    #155A21

    oklch(41.2% 0.112 145.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #513B7F

    #513B7F

    oklch(41.1% 0.111 296.1)

  • #723900

    #723900

    oklch(41% 0.1 56.1)

  • #005849

    #005849

    oklch(41.1% 0.077 175.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #513B7F

    #513B7F

    oklch(41.1% 0.111 296.1)

  • #7C2D29

    #7C2D29

    oklch(41.1% 0.111 26)

  • #485000

    #485000

    oklch(41% 0.094 116.2)

  • #00555D

    #00555D

    oklch(41% 0.07 205.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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