#514A9D

Closest named color: Blueberry (#464196). oklch(46% 0.13 283.8), rgb(81, 74, 157).

Aa

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

About this color

#514A9D is a medium-dark, moderately saturated purple. In OKLCH its lightness is 46%, its chroma 0.130 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.032 away. White text reads best on it, at 7.45:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.130)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.81:1
White text7.45:1

Values

HEX#514A9D
RGBrgb(81, 74, 157)
HSLhsl(245, 36%, 45%)
OKLCHoklch(46% 0.13 283.8)

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 #514A9D 7.45:1 AAA Lc -90.5 Preferred for body text
Black text on #514A9D 2.81:1 Fails Lc 18.3 Dividers and decoration only
#514A9D text on white 7.45:1 AAA Lc 85.7 Fine for body text
#514A9D text on black 2.81:1 Fails Lc -16.3 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E8E9F6

    oklch(93.7% 0.018 282.5)

  3. Step 200

    200

    #D6D7F0

    oklch(88.6% 0.034 283.9)

  4. Step 300

    300

    #BBBCE9

    oklch(81% 0.063 283.9)

  5. Step 400

    400

    #9998DE

    oklch(70.8% 0.102 284.1)

  6. Step 500

    500

    #817DD4

    oklch(63.1% 0.129 284.2)

  7. Step 600

    600

    #6B65C1

    oklch(55.6% 0.139 283.9)

  8. Step 700

    700 (this color)

    #514A9D

    oklch(46% 0.13 283.8)

  9. Step 800

    800

    #494487

    oklch(42.6% 0.108 284.2)

  10. Step 900

    900

    #3D3A6C

    oklch(37.7% 0.084 284.3)

  11. Step 950

    950

    #23223F

    oklch(26.9% 0.053 283.8)

Export this scale for Tailwind in the Tailwind colors tool

#514A9D 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)#2158A00.061
Deuteranopia (no green cones)#1D529B0.061
Tritanopia (no blue cones)#375C6C0.111
Achromatopsia (no color)#5555550.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #514A9D

    #514A9D

    oklch(46% 0.13 283.8)

  • #615A00

    #615A00

    oklch(46% 0.097 104.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #514A9D

    #514A9D

    oklch(46% 0.13 283.8)

  • #16589E

    #16589E

    oklch(46% 0.13 253.9)

  • #723D8A

    #723D8A

    oklch(45.9% 0.131 314.2)

Open the analogous palette in the generator

Split complementary

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

  • #514A9D

    #514A9D

    oklch(46% 0.13 283.8)

  • #784E00

    #784E00

    oklch(46% 0.098 73.6)

  • #376602

    #376602

    oklch(45.9% 0.13 133.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #514A9D

    #514A9D

    oklch(46% 0.13 283.8)

  • #903906

    #903906

    oklch(45.9% 0.13 44)

  • #006949

    #006949

    oklch(46.1% 0.098 163.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #514A9D

    #514A9D

    oklch(46% 0.13 283.8)

  • #923142

    #923142

    oklch(46% 0.131 13.5)

  • #615A00

    #615A00

    oklch(46% 0.097 104.3)

  • #006565

    #006565

    oklch(45.9% 0.078 194.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #514A9D 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.