#514D8D

Closest named color: Twilight (#4E518B). oklch(45.5% 0.102 284.4), rgb(81, 77, 141).

Aa

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

About this color

#514D8D is a medium-dark, moderately saturated purple. In OKLCH its lightness is 46%, its chroma 0.102 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.013 away. White text reads best on it, at 7.51:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.102)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.79:1
White text7.51:1

Values

HEX#514D8D
RGBrgb(81, 77, 141)
HSLhsl(244, 29%, 43%)
OKLCHoklch(45.5% 0.102 284.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 #514D8D 7.51:1 AAA Lc -90.8 Preferred for body text
Black text on #514D8D 2.79:1 Fails Lc 18.0 Dividers and decoration only
#514D8D text on white 7.51:1 AAA Lc 86.0 Fine for body text
#514D8D text on black 2.79:1 Fails Lc -16.1 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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E8E9F5

    oklch(93.7% 0.016 282.3)

  3. Step 200

    200

    #D6D7EF

    oklch(88.6% 0.033 283.8)

  4. Step 300

    300

    #BBBCE7

    oklch(80.9% 0.06 283.9)

  5. Step 400

    400

    #9998DA

    oklch(70.6% 0.096 284.4)

  6. Step 500

    500

    #827ED0

    oklch(63.2% 0.122 284.6)

  7. Step 600

    600

    #6C66BD

    oklch(55.7% 0.132 284.4)

  8. Step 700

    700

    #5A54A3

    oklch(49.1% 0.123 284.3)

  9. Step 800

    800 (this color)

    #514D8D

    oklch(45.5% 0.102 284.4)

  10. Step 900

    900

    #3D3B6A

    oklch(37.8% 0.079 283.9)

  11. Step 950

    950

    #24233E

    oklch(27.1% 0.05 284.3)

Export this scale for Tailwind in the Tailwind colors tool

#514D8D 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)#35578F0.043
Deuteranopia (no green cones)#33538C0.042
Tritanopia (no blue cones)#3F5A660.088
Achromatopsia (no color)#5555550.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #514D8D

    #514D8D

    oklch(45.5% 0.102 284.4)

  • #605900

    #605900

    oklch(45.6% 0.096 104.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #514D8D

    #514D8D

    oklch(45.5% 0.102 284.4)

  • #2A588E

    #2A588E

    oklch(45.6% 0.102 254)

  • #6B437E

    #6B437E

    oklch(45.4% 0.103 314.1)

Open the analogous palette in the generator

Split complementary

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

  • #514D8D

    #514D8D

    oklch(45.5% 0.102 284.4)

  • #764D00

    #764D00

    oklch(45.5% 0.096 74)

  • #3D6323

    #3D6323

    oklch(45.6% 0.103 134.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #514D8D

    #514D8D

    oklch(45.5% 0.102 284.4)

  • #844121

    #844121

    oklch(45.5% 0.102 44.5)

  • #006748

    #006748

    oklch(45.5% 0.097 164.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #514D8D

    #514D8D

    oklch(45.5% 0.102 284.4)

  • #863B45

    #863B45

    oklch(45.5% 0.103 13.9)

  • #605900

    #605900

    oklch(45.6% 0.096 104.3)

  • #006464

    #006464

    oklch(45.6% 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 #514D8D, closest first.

Similar named colors

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

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