#5451A1

Closest named color: Twilight (#4E518B). oklch(47.9% 0.126 282.2), rgb(84, 81, 161).

Aa

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

About this color

#5451A1 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 48%, its chroma 0.126 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.037 away. White text reads best on it, at 6.84:1.

Hue familyPurples
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.126)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text3.06:1
White text6.84:1

Values

HEX#5451A1
RGBrgb(84, 81, 161)
HSLhsl(242, 33%, 47%)
OKLCHoklch(47.9% 0.126 282.2)

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 #5451A1 6.84:1 AA Lc -88.5 Fine for body text
Black text on #5451A1 3.06:1 AA large text Lc 20.6 Dividers and decoration only
#5451A1 text on white 6.84:1 AA Lc 83.5 Fine for body text
#5451A1 text on black 3.06:1 AA large text Lc -18.5 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E8E9F6

    oklch(93.7% 0.018 282.5)

  3. Step 200

    200

    #D5D7F0

    oklch(88.5% 0.034 282)

  4. Step 300

    300

    #BABCE8

    oklch(80.8% 0.062 282.9)

  5. Step 400

    400

    #9799DC

    oklch(70.7% 0.097 282.3)

  6. Step 500

    500

    #7F7FD2

    oklch(63.2% 0.123 282.3)

  7. Step 600

    600

    #6966BF

    oklch(55.5% 0.135 282.6)

  8. Step 700

    700 (this color)

    #5451A1

    oklch(47.9% 0.126 282.2)

  9. Step 800

    800

    #474686

    oklch(42.8% 0.104 281.8)

  10. Step 900

    900

    #3B3B6B

    oklch(37.7% 0.081 281.8)

  11. Step 950

    950

    #23233F

    oklch(27.1% 0.051 282.4)

Export this scale for Tailwind in the Tailwind colors tool

#5451A1 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)#2E5DA40.052
Deuteranopia (no green cones)#29589F0.053
Tritanopia (no blue cones)#3962710.108
Achromatopsia (no color)#5B5B5B0.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #5451A1

    #5451A1

    oklch(47.9% 0.126 282.2)

  • #695F00

    #695F00

    oklch(48% 0.101 102.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5451A1

    #5451A1

    oklch(47.9% 0.126 282.2)

  • #1C5FA1

    #1C5FA1

    oklch(48% 0.125 252)

  • #75458F

    #75458F

    oklch(47.9% 0.125 312.5)

Open the analogous palette in the generator

Split complementary

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

  • #5451A1

    #5451A1

    oklch(47.9% 0.126 282.2)

  • #805200

    #805200

    oklch(47.9% 0.102 72.2)

  • #416B0F

    #416B0F

    oklch(47.9% 0.125 132.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5451A1

    #5451A1

    oklch(47.9% 0.126 282.2)

  • #954019

    #954019

    oklch(47.9% 0.125 42.5)

  • #006F4B

    #006F4B

    oklch(47.9% 0.105 162.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5451A1

    #5451A1

    oklch(47.9% 0.126 282.2)

  • #96394A

    #96394A

    oklch(47.9% 0.125 12.1)

  • #695F00

    #695F00

    oklch(48% 0.101 102.3)

  • #006B69

    #006B69

    oklch(47.7% 0.082 192.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #5451A1.

Similar named colors

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

Use #5451A1 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.