#504096

Closest named color: Blueberry (#464196). oklch(43.5% 0.135 288), rgb(80, 64, 150).

Aa

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

About this color

#504096 is a dark, moderately saturated purple. In OKLCH its lightness is 44%, its chroma 0.135 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Blueberry (#464196), ΔE 0.016 away. White text reads best on it, at 8.35:1.

Hue familyPurples
Lightnessdark (44%)
Chromamoderately saturated (0.135)
Temperaturecool
Nearest nameBlueberry (#464196)
Black text2.51:1
White text8.35:1

Values

HEX#504096
RGBrgb(80, 64, 150)
HSLhsl(251, 40%, 42%)
OKLCHoklch(43.5% 0.135 288)

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 #504096 8.35:1 AAA Lc -93.1 Preferred for body text
Black text on #504096 2.51:1 Fails Lc 15.5 Dividers and decoration only
#504096 text on white 8.35:1 AAA Lc 88.5 Fine for body text
#504096 text on black 2.51:1 Fails Lc -13.7 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

    #E9E8F9

    oklch(93.7% 0.023 288.7)

  3. Step 200

    200

    #D7D5F5

    oklch(88.5% 0.044 288.3)

  4. Step 300

    300

    #BDB9F2

    oklch(80.9% 0.08 287.7)

  5. Step 400

    400

    #9D93EB

    oklch(70.7% 0.127 287.9)

  6. Step 500

    500

    #8775E4

    oklch(63% 0.162 288.3)

  7. Step 600

    600

    #725BD2

    oklch(55.6% 0.176 288.2)

  8. Step 700

    700

    #604AB6

    oklch(49.1% 0.164 288.2)

  9. Step 800

    800 (this color)

    #504096

    oklch(43.5% 0.135 288)

  10. Step 900

    900

    #403575

    oklch(37.6% 0.106 288.1)

  11. Step 950

    950

    #252045

    oklch(27% 0.067 287.2)

Export this scale for Tailwind in the Tailwind colors tool

#504096 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)#0C50990.077
Deuteranopia (no green cones)#0D4C940.075
Tritanopia (no blue cones)#3A53640.113
Achromatopsia (no color)#4E4E4E0.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #504096

    #504096

    oklch(43.5% 0.135 288)

  • #575400

    #575400

    oklch(43.5% 0.093 107.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #504096

    #504096

    oklch(43.5% 0.135 288)

  • #194E9A

    #194E9A

    oklch(43.4% 0.136 258.3)

  • #6F3380

    #6F3380

    oklch(43.5% 0.135 318.3)

Open the analogous palette in the generator

Split complementary

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

  • #504096

    #504096

    oklch(43.5% 0.135 288)

  • #6C4A00

    #6C4A00

    oklch(43.6% 0.091 78.5)

  • #246100

    #246100

    oklch(43.5% 0.135 138)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #504096

    #504096

    oklch(43.5% 0.135 288)

  • #833800

    #833800

    oklch(43.6% 0.118 48.2)

  • #006048

    #006048

    oklch(43.4% 0.088 168.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #504096

    #504096

    oklch(43.5% 0.135 288)

  • #8C2734

    #8C2734

    oklch(43.4% 0.135 17.7)

  • #575400

    #575400

    oklch(43.5% 0.093 107.3)

  • #005D60

    #005D60

    oklch(43.4% 0.074 198.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #504096 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.