#50316D

Closest named color: Dark Slate Blue (#483D8B). oklch(38% 0.103 305.9), rgb(80, 49, 109).

Aa

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

About this color

#50316D is a dark, moderately saturated purple. In OKLCH its lightness is 38%, its chroma 0.103 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.057 away. White text reads best on it, at 10.49:1.

Hue familyPurples
Lightnessdark (38%)
Chromamoderately saturated (0.103)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.00:1
White text10.49:1

Values

HEX#50316D
RGBrgb(80, 49, 109)
HSLhsl(271, 38%, 31%)
OKLCHoklch(38% 0.103 305.9)

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 #50316D 10.49:1 AAA Lc -98.1 Preferred for body text
Black text on #50316D 2.00:1 Fails Lc 9.8 Not readable
#50316D text on white 10.49:1 AAA Lc 94.1 Preferred for body text
#50316D text on black 2.00:1 Fails Lc -8.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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EDE6F6

    oklch(93.5% 0.023 305.6)

  3. Step 200

    200

    #E0D2F0

    oklch(88.4% 0.043 306.5)

  4. Step 300

    300

    #CDB4E9

    oklch(80.9% 0.078 306.1)

  5. Step 400

    400

    #B48CDE

    oklch(70.8% 0.124 305.9)

  6. Step 500

    500

    #A16CD4

    oklch(63% 0.158 305.9)

  7. Step 600

    600

    #8D52C1

    oklch(55.7% 0.171 306.1)

  8. Step 700

    700

    #7741A7

    oklch(49% 0.16 305.7)

  9. Step 800

    800

    #613787

    oklch(42.7% 0.131 305.8)

  10. Step 900

    900 (this color)

    #50316D

    oklch(38% 0.103 305.9)

  11. Step 950

    950

    #2E1D3F

    oklch(27% 0.064 305.6)

Export this scale for Tailwind in the Tailwind colors tool

#50316D 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)#1E3E6F0.080
Deuteranopia (no green cones)#283F6C0.072
Tritanopia (no blue cones)#4B3C4A0.076
Achromatopsia (no color)#3F3F3F0.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #50316D

    #50316D

    oklch(38% 0.103 305.9)

  • #364B00

    #364B00

    oklch(38.1% 0.097 125.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #50316D

    #50316D

    oklch(38% 0.103 305.9)

  • #353B78

    #353B78

    oklch(38.1% 0.103 276.1)

  • #632957

    #632957

    oklch(38% 0.104 336.1)

Open the analogous palette in the generator

Split complementary

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

  • #50316D

    #50316D

    oklch(38% 0.103 305.9)

  • #4F4200

    #4F4200

    oklch(38.1% 0.078 96.4)

  • #00502C

    #00502C

    oklch(37.9% 0.092 155.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #50316D

    #50316D

    oklch(38% 0.103 305.9)

  • #603700

    #603700

    oklch(37.9% 0.085 65.4)

  • #004E48

    #004E48

    oklch(38.1% 0.067 186)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #50316D

    #50316D

    oklch(38% 0.103 305.9)

  • #6E2917

    #6E2917

    oklch(37.9% 0.103 35.6)

  • #364B00

    #364B00

    oklch(38.1% 0.097 125.8)

  • #004B59

    #004B59

    oklch(38% 0.067 215.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #50316D 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.