#50318A

Closest named color: Dark Slate Blue (#483D8B). oklch(40.1% 0.141 295.3), rgb(80, 49, 138).

Aa

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

About this color

#50318A is a dark, vivid purple. In OKLCH its lightness is 40%, its chroma 0.141 and its hue 295°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.030 away. White text reads best on it, at 9.77:1.

Hue familyPurples
Lightnessdark (40%)
Chromavivid (0.141)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.14:1
White text9.77:1

Values

HEX#50318A
RGBrgb(80, 49, 138)
HSLhsl(261, 48%, 37%)
OKLCHoklch(40.1% 0.141 295.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 #50318A 9.77:1 AAA Lc -96.5 Preferred for body text
Black text on #50318A 2.14:1 Fails Lc 11.7 Not readable
#50318A text on white 9.77:1 AAA Lc 92.2 Preferred for body text
#50318A text on black 2.14:1 Fails Lc -10.2 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

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #EBE6FD

    oklch(93.6% 0.031 295.8)

  3. Step 200

    200

    #DBD2FD

    oklch(88.5% 0.059 294.8)

  4. Step 300

    300

    #C6B3FE

    oklch(80.9% 0.106 295.6)

  5. Step 400

    400

    #AA87FD

    oklch(70.6% 0.169 295.4)

  6. Step 500

    500

    #9763FB

    oklch(63.1% 0.216 295.2)

  7. Step 600

    600

    #8342EA

    oklch(55.5% 0.236 295.2)

  8. Step 700

    700

    #7032CC

    oklch(49.2% 0.219 295.4)

  9. Step 800

    800

    #5B2CA5

    oklch(42.8% 0.181 295.4)

  10. Step 900

    900 (this color)

    #50318A

    oklch(40.1% 0.141 295.3)

  11. Step 950

    950

    #2B1A4C

    oklch(27% 0.089 295.5)

Export this scale for Tailwind in the Tailwind colors tool

#50318A 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)#00448D0.093
Deuteranopia (no green cones)#0042880.094
Tritanopia (no blue cones)#4145590.110
Achromatopsia (no color)#4444440.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #50318A

    #50318A

    oklch(40.1% 0.141 295.3)

  • #464D00

    #464D00

    oklch(40% 0.091 115.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #50318A

    #50318A

    oklch(40.1% 0.141 295.3)

  • #224093

    #224093

    oklch(40.1% 0.142 265.4)

  • #6C2470

    #6C2470

    oklch(40.1% 0.141 325.6)

Open the analogous palette in the generator

Split complementary

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

  • #50318A

    #50318A

    oklch(40.1% 0.141 295.3)

  • #5C4400

    #5C4400

    oklch(40.2% 0.082 85.6)

  • #005815

    #005815

    oklch(40% 0.124 145.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #50318A

    #50318A

    oklch(40.1% 0.141 295.3)

  • #6F3600

    #6F3600

    oklch(40% 0.099 54.8)

  • #005546

    #005546

    oklch(40.1% 0.075 175.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #50318A

    #50318A

    oklch(40.1% 0.141 295.3)

  • #83191C

    #83191C

    oklch(40% 0.141 25.2)

  • #464D00

    #464D00

    oklch(40% 0.091 115.6)

  • #00525A

    #00525A

    oklch(40.1% 0.069 206.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #50318A 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.