#514777

Closest named color: Dusk (#4E5481). oklch(43% 0.079 292.3), rgb(81, 71, 119).

Aa

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

About this color

#514777 is a dark, moderately saturated purple. In OKLCH its lightness is 43%, its chroma 0.079 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dusk (#4E5481), ΔE 0.037 away. White text reads best on it, at 8.34:1.

Hue familyPurples
Lightnessdark (43%)
Chromamoderately saturated (0.079)
Temperaturein between
Nearest nameDusk (#4E5481)
Black text2.51:1
White text8.34:1

Values

HEX#514777
RGBrgb(81, 71, 119)
HSLhsl(252, 25%, 37%)
OKLCHoklch(43% 0.079 292.3)

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 #514777 8.34:1 AAA Lc -93.3 Preferred for body text
Black text on #514777 2.51:1 Fails Lc 15.3 Dividers and decoration only
#514777 text on white 8.34:1 AAA Lc 88.7 Fine for body text
#514777 text on black 2.51:1 Fails Lc -13.5 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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #EAE8F2

    oklch(93.5% 0.014 295.3)

  3. Step 200

    200

    #D9D6E9

    oklch(88.4% 0.026 293.1)

  4. Step 300

    300

    #C1BCDC

    oklch(81% 0.045 292.5)

  5. Step 400

    400

    #A199CB

    oklch(70.8% 0.073 291.8)

  6. Step 500

    500

    #8B7FBE

    oklch(63.2% 0.094 292.2)

  7. Step 600

    600

    #7567AA

    oklch(55.5% 0.103 292.3)

  8. Step 700

    700

    #625692

    oklch(49.1% 0.095 291.7)

  9. Step 800

    800 (this color)

    #514777

    oklch(43% 0.079 292.3)

  10. Step 900

    900

    #423B5F

    oklch(37.6% 0.061 292.1)

  11. Step 950

    950

    #272338

    oklch(27.1% 0.039 292.3)

Export this scale for Tailwind in the Tailwind colors tool

#514777 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)#394F790.040
Deuteranopia (no green cones)#3A4D760.037
Tritanopia (no blue cones)#4850590.066
Achromatopsia (no color)#4E4E4E0.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #514777

    #514777

    oklch(43% 0.079 292.3)

  • #51541B

    #51541B

    oklch(43.1% 0.078 112.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #514777

    #514777

    oklch(43% 0.079 292.3)

  • #384F7B

    #384F7B

    oklch(43% 0.079 262.5)

  • #644069

    #644069

    oklch(42.9% 0.079 322.5)

Open the analogous palette in the generator

Split complementary

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

  • #514777

    #514777

    oklch(43% 0.079 292.3)

  • #654B13

    #654B13

    oklch(43% 0.079 82.3)

  • #355B32

    #355B32

    oklch(43.1% 0.079 142.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #514777

    #514777

    oklch(43% 0.079 292.3)

  • #714224

    #714224

    oklch(42.9% 0.078 51.8)

  • #0D5D4B

    #0D5D4B

    oklch(42.9% 0.078 172.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #514777

    #514777

    oklch(43% 0.079 292.3)

  • #753D3C

    #753D3C

    oklch(43% 0.079 21.9)

  • #51541B

    #51541B

    oklch(43.1% 0.078 112.1)

  • #005B61

    #005B61

    oklch(42.9% 0.073 202.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #514777 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.