#513F98

Closest named color: Blueberry (#464196). oklch(43.6% 0.14 288.5), rgb(81, 63, 152).

Aa

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

About this color

#513F98 is a dark, moderately saturated purple. In OKLCH its lightness is 44%, its chroma 0.140 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.019 away. White text reads best on it, at 8.35:1.

Hue familyPurples
Lightnessdark (44%)
Chromamoderately saturated (0.140)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.51:1
White text8.35:1

Values

HEX#513F98
RGBrgb(81, 63, 152)
HSLhsl(252, 41%, 42%)
OKLCHoklch(43.6% 0.14 288.5)

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 #513F98 8.35:1 AAA Lc -93.1 Preferred for body text
Black text on #513F98 2.51:1 Fails Lc 15.5 Dividers and decoration only
#513F98 text on white 8.35:1 AAA Lc 88.5 Fine for body text
#513F98 text on black 2.51:1 Fails Lc -13.7 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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E8F9

    oklch(93.7% 0.023 288.7)

  3. Step 200

    200

    #D7D5F6

    oklch(88.5% 0.045 288.2)

  4. Step 300

    300

    #BEB9F3

    oklch(81% 0.081 288.4)

  5. Step 400

    400

    #9E92ED

    oklch(70.7% 0.131 288.6)

  6. Step 500

    500

    #8874E7

    oklch(63.1% 0.167 288.7)

  7. Step 600

    600

    #735AD5

    oklch(55.7% 0.181 288.4)

  8. Step 700

    700

    #6149B8

    oklch(49.2% 0.168 288.6)

  9. Step 800

    800 (this color)

    #513F98

    oklch(43.6% 0.14 288.5)

  10. Step 900

    900

    #413577

    oklch(37.8% 0.108 288.5)

  11. Step 950

    950

    #261F46

    oklch(27% 0.07 289.1)

Export this scale for Tailwind in the Tailwind colors tool

#513F98 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)#02509B0.082
Deuteranopia (no green cones)#054C960.080
Tritanopia (no blue cones)#3B53650.115
Achromatopsia (no color)#4E4E4E0.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #513F98

    #513F98

    oklch(43.6% 0.14 288.5)

  • #565500

    #565500

    oklch(43.6% 0.095 109)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #513F98

    #513F98

    oklch(43.6% 0.14 288.5)

  • #184E9C

    #184E9C

    oklch(43.6% 0.139 258.5)

  • #703281

    #703281

    oklch(43.5% 0.139 318.5)

Open the analogous palette in the generator

Split complementary

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

  • #513F98

    #513F98

    oklch(43.6% 0.14 288.5)

  • #6C4A00

    #6C4A00

    oklch(43.6% 0.091 78.5)

  • #226200

    #226200

    oklch(43.7% 0.137 138.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #513F98

    #513F98

    oklch(43.6% 0.14 288.5)

  • #833800

    #833800

    oklch(43.6% 0.118 48.2)

  • #006048

    #006048

    oklch(43.4% 0.088 168.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #513F98

    #513F98

    oklch(43.6% 0.14 288.5)

  • #8E2532

    #8E2532

    oklch(43.5% 0.14 18.5)

  • #565500

    #565500

    oklch(43.6% 0.095 109)

  • #005D60

    #005D60

    oklch(43.4% 0.074 198.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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