#503B71

Closest named color: Dark Slate Blue (#483D8B). oklch(40.1% 0.091 300.3), rgb(80, 59, 113).

Aa

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

About this color

#503B71 is a dark, moderately saturated purple. In OKLCH its lightness is 40%, its chroma 0.091 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.045 away. White text reads best on it, at 9.52:1.

Hue familyPurples
Lightnessdark (40%)
Chromamoderately saturated (0.091)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.20:1
White text9.52:1

Values

HEX#503B71
RGBrgb(80, 59, 113)
HSLhsl(263, 31%, 34%)
OKLCHoklch(40.1% 0.091 300.3)

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 #503B71 9.52:1 AAA Lc -96.2 Preferred for body text
Black text on #503B71 2.20:1 Fails Lc 12.0 Not readable
#503B71 text on white 9.52:1 AAA Lc 91.9 Preferred for body text
#503B71 text on black 2.20:1 Fails Lc -10.5 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 900.

  1. Step 50

    50

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #ECE7F5

    oklch(93.6% 0.019 302.2)

  3. Step 200

    200

    #DDD4EF

    oklch(88.5% 0.038 300.8)

  4. Step 300

    300

    #C7B7E7

    oklch(80.9% 0.069 300.1)

  5. Step 400

    400

    #AB91DA

    oklch(70.7% 0.108 300)

  6. Step 500

    500

    #9774D0

    oklch(63.1% 0.138 300)

  7. Step 600

    600

    #825ABD

    oklch(55.5% 0.151 300.2)

  8. Step 700

    700

    #6E49A3

    oklch(49% 0.141 300.2)

  9. Step 800

    800

    #5A3D84

    oklch(42.7% 0.116 300.4)

  10. Step 900

    900 (this color)

    #503B71

    oklch(40.1% 0.091 300.3)

  11. Step 950

    950

    #2B1F3E

    oklch(27% 0.058 300.4)

Export this scale for Tailwind in the Tailwind colors tool

#503B71 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)#2B45730.060
Deuteranopia (no green cones)#3045700.055
Tritanopia (no blue cones)#4A45500.072
Achromatopsia (no color)#4545450.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #503B71

    #503B71

    oklch(40.1% 0.091 300.3)

  • #424F08

    #424F08

    oklch(40.2% 0.091 120.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #503B71

    #503B71

    oklch(40.1% 0.091 300.3)

  • #354479

    #354479

    oklch(40.1% 0.091 270)

  • #63345F

    #63345F

    oklch(40.1% 0.091 330.3)

Open the analogous palette in the generator

Split complementary

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

  • #503B71

    #503B71

    oklch(40.1% 0.091 300.3)

  • #594500

    #594500

    oklch(40% 0.082 89.8)

  • #1A552D

    #1A552D

    oklch(40% 0.09 150.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #503B71

    #503B71

    oklch(40.1% 0.091 300.3)

  • #6A3A05

    #6A3A05

    oklch(40% 0.09 60.4)

  • #00544A

    #00544A

    oklch(40% 0.072 181.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #503B71

    #503B71

    oklch(40.1% 0.091 300.3)

  • #713229

    #713229

    oklch(40.1% 0.091 29.9)

  • #424F08

    #424F08

    oklch(40.2% 0.091 120.3)

  • #00525D

    #00525D

    oklch(40.2% 0.07 210.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #503B71 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.