#504682

Closest named color: Twilight (#4E518B). oklch(43.3% 0.097 289.4), rgb(80, 70, 130).

Aa

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

About this color

#504682 is a dark, moderately saturated purple. In OKLCH its lightness is 43%, its chroma 0.097 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.031 away. White text reads best on it, at 8.26:1.

Hue familyPurples
Lightnessdark (43%)
Chromamoderately saturated (0.097)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.53:1
White text8.26:1

Values

HEX#504682
RGBrgb(80, 70, 130)
HSLhsl(250, 30%, 39%)
OKLCHoklch(43.3% 0.097 289.4)

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 #504682 8.26:1 AAA Lc -93.1 Preferred for body text
Black text on #504682 2.53:1 Fails Lc 15.5 Dividers and decoration only
#504682 text on white 8.26:1 AAA Lc 88.4 Fine for body text
#504682 text on black 2.53: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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E9E8F4

    oklch(93.5% 0.016 289.9)

  3. Step 200

    200

    #D8D6ED

    oklch(88.5% 0.031 289.7)

  4. Step 300

    300

    #BFBBE4

    oklch(80.9% 0.057 289.5)

  5. Step 400

    400

    #9F97D6

    oklch(70.7% 0.091 289.7)

  6. Step 500

    500

    #887DCB

    oklch(63.2% 0.116 289.1)

  7. Step 600

    600

    #7265B8

    oklch(55.7% 0.126 288.8)

  8. Step 700

    700

    #60539E

    oklch(49.1% 0.117 289.3)

  9. Step 800

    800 (this color)

    #504682

    oklch(43.3% 0.097 289.4)

  10. Step 900

    900

    #413A67

    oklch(37.7% 0.076 289.4)

  11. Step 950

    950

    #26223C

    oklch(27% 0.048 289.9)

Export this scale for Tailwind in the Tailwind colors tool

#504682 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)#3150840.048
Deuteranopia (no green cones)#314D810.046
Tritanopia (no blue cones)#43525D0.082
Achromatopsia (no color)#4E4E4E0.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #504682

    #504682

    oklch(43.3% 0.097 289.4)

  • #555400

    #555400

    oklch(43.3% 0.094 109)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #504682

    #504682

    oklch(43.3% 0.097 289.4)

  • #2F5085

    #2F5085

    oklch(43.3% 0.096 259.5)

  • #673D72

    #673D72

    oklch(43.2% 0.098 319.1)

Open the analogous palette in the generator

Split complementary

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

  • #504682

    #504682

    oklch(43.3% 0.097 289.4)

  • #6B4A00

    #6B4A00

    oklch(43.4% 0.09 79.3)

  • #325D26

    #325D26

    oklch(43.3% 0.097 139.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #504682

    #504682

    oklch(43.3% 0.097 289.4)

  • #7A3E19

    #7A3E19

    oklch(43.3% 0.097 49.2)

  • #005F49

    #005F49

    oklch(43.2% 0.085 170)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #504682

    #504682

    oklch(43.3% 0.097 289.4)

  • #7D383B

    #7D383B

    oklch(43.3% 0.096 19.3)

  • #555400

    #555400

    oklch(43.3% 0.094 109)

  • #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 #504682, closest first.

Similar named colors

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

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