#51497B

Closest named color: Dusk (#4E5481). oklch(43.6% 0.081 289.9), rgb(81, 73, 123).

Aa

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

About this color

#51497B is a dark, moderately saturated purple. In OKLCH its lightness is 44%, its chroma 0.081 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk (#4E5481), ΔE 0.031 away. White text reads best on it, at 8.11:1.

Hue familyPurples
Lightnessdark (44%)
Chromamoderately saturated (0.081)
Temperaturecool
Nearest nameDusk (#4E5481)
Black text2.58:1
White text8.11:1

Values

HEX#51497B
RGBrgb(81, 73, 123)
HSLhsl(250, 26%, 38%)
OKLCHoklch(43.6% 0.081 289.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 #51497B 8.11:1 AAA Lc -92.7 Preferred for body text
Black text on #51497B 2.58:1 Fails Lc 16.0 Dividers and decoration only
#51497B text on white 8.11:1 AAA Lc 88.0 Fine for body text
#51497B text on black 2.58:1 Fails Lc -14.1 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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E9E8F3

    oklch(93.5% 0.015 290.3)

  3. Step 200

    200

    #D8D7EA

    oklch(88.6% 0.026 288.3)

  4. Step 300

    300

    #BFBCDE

    oklch(80.9% 0.048 289.3)

  5. Step 400

    400

    #9F99CD

    oklch(70.7% 0.075 289.6)

  6. Step 500

    500

    #887FC0

    oklch(63% 0.097 289.7)

  7. Step 600

    600

    #7368AD

    oklch(55.7% 0.105 289.8)

  8. Step 700

    700

    #605694

    oklch(49.1% 0.098 289.7)

  9. Step 800

    800 (this color)

    #51497B

    oklch(43.6% 0.081 289.9)

  10. Step 900

    900

    #413B61

    oklch(37.6% 0.064 290.2)

  11. Step 950

    950

    #262339

    oklch(27% 0.04 289.7)

Export this scale for Tailwind in the Tailwind colors tool

#51497B 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)#3A517D0.038
Deuteranopia (no green cones)#3A4F7A0.037
Tritanopia (no blue cones)#47525C0.068
Achromatopsia (no color)#5050500.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #51497B

    #51497B

    oklch(43.6% 0.081 289.9)

  • #545518

    #545518

    oklch(43.6% 0.081 110.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51497B

    #51497B

    oklch(43.6% 0.081 289.9)

  • #36517E

    #36517E

    oklch(43.5% 0.082 260.2)

  • #65426D

    #65426D

    oklch(43.6% 0.081 320)

Open the analogous palette in the generator

Split complementary

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

  • #51497B

    #51497B

    oklch(43.6% 0.081 289.9)

  • #694C12

    #694C12

    oklch(43.7% 0.081 80.1)

  • #385C30

    #385C30

    oklch(43.5% 0.081 140)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51497B

    #51497B

    oklch(43.6% 0.081 289.9)

  • #754325

    #754325

    oklch(43.7% 0.082 50.2)

  • #0F604A

    #0F604A

    oklch(43.7% 0.082 169.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51497B

    #51497B

    oklch(43.6% 0.081 289.9)

  • #783E3F

    #783E3F

    oklch(43.7% 0.081 19.8)

  • #545518

    #545518

    oklch(43.6% 0.081 110.3)

  • #005D61

    #005D61

    oklch(43.5% 0.074 199.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #51497B 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.