#514772

Closest named color: Dusk (#4E5481). oklch(42.7% 0.071 293.9), rgb(81, 71, 114).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (43%)
Chromamoderately saturated (0.071)
Temperaturein between
Nearest nameDusk (#4E5481)
Black text2.49:1
White text8.41:1

Values

HEX#514772
RGBrgb(81, 71, 114)
HSLhsl(254, 23%, 36%)
OKLCHoklch(42.7% 0.071 293.9)

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 #514772 8.41:1 AAA Lc -93.5 Preferred for body text
Black text on #514772 2.49:1 Fails Lc 15.0 Dividers and decoration only
#514772 text on white 8.41:1 AAA Lc 89.0 Fine for body text
#514772 text on black 2.49:1 Fails Lc -13.2 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

    #EAE8F1

    oklch(93.5% 0.012 296.3)

  3. Step 200

    200

    #D9D7E7

    oklch(88.6% 0.022 291.7)

  4. Step 300

    300

    #C1BCD9

    oklch(80.9% 0.041 293.4)

  5. Step 400

    400

    #A299C6

    oklch(70.6% 0.066 293.8)

  6. Step 500

    500

    #8C80B8

    oklch(63.2% 0.084 293.7)

  7. Step 600

    600

    #7668A4

    oklch(55.5% 0.092 293.9)

  8. Step 700

    700

    #63578C

    oklch(49.1% 0.084 293.5)

  9. Step 800

    800 (this color)

    #514772

    oklch(42.7% 0.071 293.9)

  10. Step 900

    900

    #433C5C

    oklch(37.7% 0.054 293.7)

  11. Step 950

    950

    #272336

    oklch(27% 0.035 293.6)

Export this scale for Tailwind in the Tailwind colors tool

#514772 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)#3B4E740.037
Deuteranopia (no green cones)#3D4D710.034
Tritanopia (no blue cones)#4A4E570.057
Achromatopsia (no color)#4D4D4D0.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #514772

    #514772

    oklch(42.7% 0.071 293.9)

  • #4F5322

    #4F5322

    oklch(42.7% 0.07 113.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #514772

    #514772

    oklch(42.7% 0.071 293.9)

  • #3B4E76

    #3B4E76

    oklch(42.7% 0.071 264.2)

  • #624165

    #624165

    oklch(42.7% 0.071 323.8)

Open the analogous palette in the generator

Split complementary

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

  • #514772

    #514772

    oklch(42.7% 0.071 293.9)

  • #614B1C

    #614B1C

    oklch(42.6% 0.07 83.6)

  • #365935

    #365935

    oklch(42.7% 0.071 143.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #514772

    #514772

    oklch(42.7% 0.071 293.9)

  • #6D4427

    #6D4427

    oklch(42.8% 0.071 54.8)

  • #195B4C

    #195B4C

    oklch(42.6% 0.07 174.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #514772

    #514772

    oklch(42.7% 0.071 293.9)

  • #713F3C

    #713F3C

    oklch(42.8% 0.07 24.1)

  • #4F5322

    #4F5322

    oklch(42.7% 0.07 113.2)

  • #075A61

    #075A61

    oklch(42.7% 0.071 204.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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