#504A9D

Closest named color: Blueberry (#464196). oklch(45.9% 0.131 283.2), rgb(80, 74, 157).

Aa

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

About this color

#504A9D is a medium-dark, moderately saturated purple. In OKLCH its lightness is 46%, its chroma 0.131 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.031 away. White text reads best on it, at 7.48:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.131)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.80:1
White text7.48:1

Values

HEX#504A9D
RGBrgb(80, 74, 157)
HSLhsl(244, 36%, 45%)
OKLCHoklch(45.9% 0.131 283.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 #504A9D 7.48:1 AAA Lc -90.6 Preferred for body text
Black text on #504A9D 2.80:1 Fails Lc 18.2 Dividers and decoration only
#504A9D text on white 7.48:1 AAA Lc 85.8 Fine for body text
#504A9D text on black 2.80:1 Fails Lc -16.3 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 800.

  1. Step 50

    50

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E7E8F9

    oklch(93.5% 0.023 283.3)

  3. Step 200

    200

    #D5D6F5

    oklch(88.5% 0.042 284)

  4. Step 300

    300

    #B9BBF1

    oklch(80.9% 0.076 282.9)

  5. Step 400

    400

    #9796EA

    oklch(70.8% 0.122 283.4)

  6. Step 500

    500

    #7F79E4

    oklch(63.1% 0.157 283.5)

  7. Step 600

    600

    #6960D1

    oklch(55.6% 0.168 283)

  8. Step 700

    700

    #584EB5

    oklch(49% 0.157 283.3)

  9. Step 800

    800 (this color)

    #504A9D

    oklch(45.9% 0.131 283.2)

  10. Step 900

    900

    #3C3875

    oklch(37.8% 0.101 283.4)

  11. Step 950

    950

    #232145

    oklch(27% 0.065 283.6)

Export this scale for Tailwind in the Tailwind colors tool

#504A9D 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)#2158A00.060
Deuteranopia (no green cones)#1C529B0.060
Tritanopia (no blue cones)#355C6C0.111
Achromatopsia (no color)#5555550.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #504A9D

    #504A9D

    oklch(45.9% 0.131 283.2)

  • #625900

    #625900

    oklch(45.8% 0.096 102.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #504A9D

    #504A9D

    oklch(45.9% 0.131 283.2)

  • #13589E

    #13589E

    oklch(45.9% 0.131 253.4)

  • #713D8A

    #713D8A

    oklch(45.8% 0.131 313.6)

Open the analogous palette in the generator

Split complementary

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

  • #504A9D

    #504A9D

    oklch(45.9% 0.131 283.2)

  • #784E00

    #784E00

    oklch(46% 0.098 73.6)

  • #386600

    #386600

    oklch(45.9% 0.13 133.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #504A9D

    #504A9D

    oklch(45.9% 0.131 283.2)

  • #903808

    #903808

    oklch(45.8% 0.13 43)

  • #006848

    #006848

    oklch(45.8% 0.098 163.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #504A9D

    #504A9D

    oklch(45.9% 0.131 283.2)

  • #923142

    #923142

    oklch(46% 0.131 13.5)

  • #625900

    #625900

    oklch(45.8% 0.096 102.7)

  • #006564

    #006564

    oklch(45.8% 0.078 193.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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