#514E80

Closest named color: Dusk (#4E5481). oklch(45% 0.081 285.4), rgb(81, 78, 128).

Aa

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

About this color

#514E80 is a dark, moderately saturated purple. In OKLCH its lightness is 45%, its chroma 0.081 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk (#4E5481), ΔE 0.017 away. White text reads best on it, at 7.63:1.

Hue familyPurples
Lightnessdark (45%)
Chromamoderately saturated (0.081)
Temperaturecool
Nearest nameDusk (#4E5481)
Black text2.75:1
White text7.63:1

Values

HEX#514E80
RGBrgb(81, 78, 128)
HSLhsl(244, 24%, 40%)
OKLCHoklch(45% 0.081 285.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 #514E80 7.63:1 AAA Lc -91.2 Preferred for body text
Black text on #514E80 2.75:1 Fails Lc 17.6 Dividers and decoration only
#514E80 text on white 7.63:1 AAA Lc 86.5 Fine for body text
#514E80 text on black 2.75:1 Fails Lc -15.6 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 800.

  1. Step 50

    50

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E9E9F3

    oklch(93.7% 0.013 286.1)

  3. Step 200

    200

    #D7D7EA

    oklch(88.5% 0.026 285.9)

  4. Step 300

    300

    #BDBDDF

    oklch(80.9% 0.048 285.3)

  5. Step 400

    400

    #9C9ACE

    oklch(70.7% 0.075 286.1)

  6. Step 500

    500

    #8481C2

    oklch(63.2% 0.097 285.4)

  7. Step 600

    600

    #6E69AE

    oklch(55.6% 0.106 285.7)

  8. Step 700

    700

    #5C5895

    oklch(49.2% 0.096 285.3)

  9. Step 800

    800 (this color)

    #514E80

    oklch(45% 0.081 285.4)

  10. Step 900

    900

    #3E3C62

    oklch(37.6% 0.064 285.3)

  11. Step 950

    950

    #242439

    oklch(27.1% 0.039 283.5)

Export this scale for Tailwind in the Tailwind colors tool

#514E80 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)#3E55820.031
Deuteranopia (no green cones)#3D527F0.030
Tritanopia (no blue cones)#4557610.068
Achromatopsia (no color)#5353530.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #514E80

    #514E80

    oklch(45% 0.081 285.4)

  • #5C571A

    #5C571A

    oklch(44.9% 0.081 104.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #514E80

    #514E80

    oklch(45% 0.081 285.4)

  • #355681

    #355681

    oklch(44.8% 0.081 255.6)

  • #664774

    #664774

    oklch(45% 0.08 314.9)

Open the analogous palette in the generator

Split complementary

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

  • #514E80

    #514E80

    oklch(45% 0.081 285.4)

  • #6F4E19

    #6F4E19

    oklch(45% 0.081 75.4)

  • #415F30

    #415F30

    oklch(44.9% 0.08 135.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #514E80

    #514E80

    oklch(45% 0.081 285.4)

  • #7A462D

    #7A462D

    oklch(45.1% 0.081 45.8)

  • #1D634A

    #1D634A

    oklch(44.9% 0.081 165.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #514E80

    #514E80

    oklch(45% 0.081 285.4)

  • #7C4146

    #7C4146

    oklch(45% 0.082 15.5)

  • #5C571A

    #5C571A

    oklch(44.9% 0.081 104.6)

  • #006263

    #006263

    oklch(45% 0.077 196)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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