#51319A

Closest named color: Dark Slate Blue (#483D8B). oklch(41.5% 0.162 291.8), rgb(81, 49, 154).

Aa

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

About this color

#51319A is a dark, vivid purple. In OKLCH its lightness is 41%, its chroma 0.162 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.039 away. White text reads best on it, at 9.30:1.

Hue familyPurples
Lightnessdark (41%)
Chromavivid (0.162)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.25:1
White text9.30:1

Values

HEX#51319A
RGBrgb(81, 49, 154)
HSLhsl(258, 52%, 40%)
OKLCHoklch(41.5% 0.162 291.8)

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 #51319A 9.30:1 AAA Lc -95.3 Preferred for body text
Black text on #51319A 2.25:1 Fails Lc 13.0 Not readable
#51319A text on white 9.30:1 AAA Lc 90.9 Preferred for body text
#51319A text on black 2.25:1 Fails Lc -11.4 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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #EAE7FB

    oklch(93.6% 0.027 292.8)

  3. Step 200

    200

    #D9D4FA

    oklch(88.6% 0.052 291.3)

  4. Step 300

    300

    #C1B6F9

    oklch(80.9% 0.094 291.7)

  5. Step 400

    400

    #A38DF6

    oklch(70.7% 0.151 291.7)

  6. Step 500

    500

    #8F6CF2

    oklch(63.1% 0.193 292)

  7. Step 600

    600

    #7B4FE1

    oklch(55.6% 0.21 292)

  8. Step 700

    700

    #683EC3

    oklch(49% 0.195 292.1)

  9. Step 800

    800 (this color)

    #51319A

    oklch(41.5% 0.162 291.8)

  10. Step 900

    900

    #45307D

    oklch(37.7% 0.125 291.9)

  11. Step 950

    950

    #281D49

    oklch(27% 0.079 291.8)

Export this scale for Tailwind in the Tailwind colors tool

#51319A 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)#00489D0.093
Deuteranopia (no green cones)#0045980.092
Tritanopia (no blue cones)#3B4B610.130
Achromatopsia (no color)#4747470.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #51319A

    #51319A

    oklch(41.5% 0.162 291.8)

  • #4D5000

    #4D5000

    oklch(41.5% 0.092 112.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51319A

    #51319A

    oklch(41.5% 0.162 291.8)

  • #1243A1

    #1243A1

    oklch(41.4% 0.161 261.8)

  • #71207E

    #71207E

    oklch(41.4% 0.162 321.8)

Open the analogous palette in the generator

Split complementary

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

  • #51319A

    #51319A

    oklch(41.5% 0.162 291.8)

  • #634600

    #634600

    oklch(41.5% 0.086 81.5)

  • #085D00

    #085D00

    oklch(41.6% 0.139 141.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51319A

    #51319A

    oklch(41.5% 0.162 291.8)

  • #773700

    #773700

    oklch(41.5% 0.107 52)

  • #005946

    #005946

    oklch(41.3% 0.08 171.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51319A

    #51319A

    oklch(41.5% 0.162 291.8)

  • #8F0920

    #8F0920

    oklch(41.5% 0.161 21.6)

  • #4D5000

    #4D5000

    oklch(41.5% 0.092 112.2)

  • #00575C

    #00575C

    oklch(41.6% 0.071 201.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #51319A 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.