#504AB7

Closest named color: Blue With A Hint Of Purple (#533CC6). oklch(47.8% 0.167 280.5), rgb(80, 74, 183).

Aa

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

About this color

#504AB7 is a medium-dark, vivid purple. In OKLCH its lightness is 48%, its chroma 0.167 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Blue With A Hint Of Purple (#533CC6), ΔE 0.037 away. White text reads best on it, at 6.98:1.

Hue familyPurples
Lightnessmedium-dark (48%)
Chromavivid (0.167)
Temperaturecool
Nearest nameBlue With A Hint Of Purple (#533CC6)
Black text3.00:1
White text6.98:1

Values

HEX#504AB7
RGBrgb(80, 74, 183)
HSLhsl(243, 43%, 50%)
OKLCHoklch(47.8% 0.167 280.5)

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 #504AB7 6.98:1 AA Lc -88.8 Fine for body text
Black text on #504AB7 3.00:1 AA large text Lc 20.2 Dividers and decoration only
#504AB7 text on white 6.98:1 AA Lc 83.8 Fine for body text
#504AB7 text on black 3.00:1 AA large text Lc -18.1 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

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E6E8FA

    oklch(93.5% 0.024 280.9)

  3. Step 200

    200

    #D3D6F7

    oklch(88.4% 0.045 281.3)

  4. Step 300

    300

    #B6BBF4

    oklch(80.8% 0.081 280.5)

  5. Step 400

    400

    #9296EF

    oklch(70.7% 0.129 280.6)

  6. Step 500

    500

    #7979EA

    oklch(63% 0.166 280.5)

  7. Step 600

    600

    #645FD8

    oklch(55.5% 0.18 280.6)

  8. Step 700

    700 (this color)

    #504AB7

    oklch(47.8% 0.167 280.5)

  9. Step 800

    800

    #444197

    oklch(42.8% 0.137 280.5)

  10. Step 900

    900

    #393879

    oklch(37.8% 0.108 280.6)

  11. Step 950

    950

    #212147

    oklch(27% 0.069 280.7)

Export this scale for Tailwind in the Tailwind colors tool

#504AB7 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)#005DBB0.072
Deuteranopia (no green cones)#0055B50.068
Tritanopia (no blue cones)#1B64790.143
Achromatopsia (no color)#5959590.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #504AB7

    #504AB7

    oklch(47.8% 0.167 280.5)

  • #6A5E00

    #6A5E00

    oklch(47.9% 0.1 100.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #504AB7

    #504AB7

    oklch(47.8% 0.167 280.5)

  • #005FA6

    #005FA6

    oklch(47.9% 0.136 250.2)

  • #7A39A1

    #7A39A1

    oklch(47.9% 0.166 310.4)

Open the analogous palette in the generator

Split complementary

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

  • #504AB7

    #504AB7

    oklch(47.8% 0.167 280.5)

  • #815100

    #815100

    oklch(47.8% 0.103 70.5)

  • #436B00

    #436B00

    oklch(47.9% 0.13 130.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #504AB7

    #504AB7

    oklch(47.8% 0.167 280.5)

  • #9E3600

    #9E3600

    oklch(47.8% 0.148 40.7)

  • #006F48

    #006F48

    oklch(47.8% 0.107 160.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #504AB7

    #504AB7

    oklch(47.8% 0.167 280.5)

  • #A52146

    #A52146

    oklch(47.8% 0.167 10.6)

  • #6A5E00

    #6A5E00

    oklch(47.9% 0.1 100.7)

  • #006C68

    #006C68

    oklch(47.9% 0.083 190.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #504AB7 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.