#51418D

Closest named color: Dark Slate Blue (#483D8B). oklch(43.2% 0.121 290.1), rgb(81, 65, 141).

Aa

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

About this color

#51418D is a dark, moderately saturated purple. In OKLCH its lightness is 43%, its chroma 0.121 and its hue 290°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.020 away. White text reads best on it, at 8.43:1.

Hue familyPurples
Lightnessdark (43%)
Chromamoderately saturated (0.121)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.49:1
White text8.43:1

Values

HEX#51418D
RGBrgb(81, 65, 141)
HSLhsl(253, 37%, 40%)
OKLCHoklch(43.2% 0.121 290.1)

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 #51418D 8.43:1 AAA Lc -93.4 Preferred for body text
Black text on #51418D 2.49:1 Fails Lc 15.2 Dividers and decoration only
#51418D text on white 8.43:1 AAA Lc 88.8 Fine for body text
#51418D text on black 2.49:1 Fails Lc -13.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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F7

    oklch(93.6% 0.02 289.1)

  3. Step 200

    200

    #D8D5F2

    oklch(88.4% 0.04 290.3)

  4. Step 300

    300

    #BFB9EC

    oklch(80.8% 0.072 290.1)

  5. Step 400

    400

    #A094E2

    oklch(70.7% 0.113 290.3)

  6. Step 500

    500

    #8A77DA

    oklch(63.1% 0.146 290.4)

  7. Step 600

    600

    #745EC7

    oklch(55.5% 0.157 290)

  8. Step 700

    700

    #624DAC

    oklch(49.1% 0.146 290.2)

  9. Step 800

    800 (this color)

    #51418D

    oklch(43.2% 0.121 290.1)

  10. Step 900

    900

    #423770

    oklch(37.8% 0.095 290)

  11. Step 950

    950

    #262041

    oklch(26.8% 0.06 290.1)

Export this scale for Tailwind in the Tailwind colors tool

#51418D 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)#1F4F900.068
Deuteranopia (no green cones)#214B8B0.065
Tritanopia (no blue cones)#4051600.101
Achromatopsia (no color)#4D4D4D0.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #51418D

    #51418D

    oklch(43.2% 0.121 290.1)

  • #545400

    #545400

    oklch(43.2% 0.094 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51418D

    #51418D

    oklch(43.2% 0.121 290.1)

  • #254E92

    #254E92

    oklch(43.3% 0.121 260)

  • #6D3679

    #6D3679

    oklch(43.2% 0.122 320.2)

Open the analogous palette in the generator

Split complementary

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

  • #51418D

    #51418D

    oklch(43.2% 0.121 290.1)

  • #6A4A00

    #6A4A00

    oklch(43.3% 0.09 80.2)

  • #255F16

    #255F16

    oklch(43.1% 0.121 140)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51418D

    #51418D

    oklch(43.2% 0.121 290.1)

  • #803900

    #803900

    oklch(43.2% 0.114 50)

  • #005F49

    #005F49

    oklch(43.2% 0.085 170)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51418D

    #51418D

    oklch(43.2% 0.121 290.1)

  • #862E33

    #862E33

    oklch(43.2% 0.121 20.4)

  • #545400

    #545400

    oklch(43.2% 0.094 109.8)

  • #005C60

    #005C60

    oklch(43.2% 0.073 200)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #51418D 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.