#50173C

Closest named color: Deep Violet (#490648). oklch(31.1% 0.097 344.3), rgb(80, 23, 60).

Aa

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

About this color

#50173C is a dark, moderately saturated purple. In OKLCH its lightness is 31%, its chroma 0.097 and its hue 344°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Violet (#490648), ΔE 0.045 away. White text reads best on it, at 13.73:1.

Hue familyPurples
Lightnessdark (31%)
Chromamoderately saturated (0.097)
Temperaturewarm
Nearest nameDeep Violet (#490648)
Black text1.52:1
White text13.73:1

Values

HEX#50173C
RGBrgb(80, 23, 60)
HSLhsl(321, 55%, 20%)
OKLCHoklch(31.1% 0.097 344.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 #50173C 13.73:1 AAA Lc -102.9 Preferred for body text
Black text on #50173C 1.52:1 Fails Lc 0.0 Not readable
#50173C text on white 13.73:1 AAA Lc 99.7 Preferred for body text
#50173C text on black 1.52:1 Fails Lc 0.0 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 950.

  1. Step 50

    50

    #FEF2F8

    oklch(97.2% 0.015 345.5)

  2. Step 100

    100

    #FBE2EF

    oklch(93.7% 0.032 345)

  3. Step 200

    200

    #F9C9E3

    oklch(88.5% 0.064 344.7)

  4. Step 300

    300

    #F5A2D2

    oklch(80.8% 0.115 344.4)

  5. Step 400

    400

    #EC6ABC

    oklch(70.6% 0.184 344.1)

  6. Step 500

    500

    #E234AB

    oklch(63.1% 0.235 344.2)

  7. Step 600

    600

    #C80094

    oklch(55.6% 0.237 344.2)

  8. Step 700

    700

    #A9007C

    oklch(49.1% 0.209 344.4)

  9. Step 800

    800

    #8C0066

    oklch(42.7% 0.182 344.5)

  10. Step 900

    900

    #740954

    oklch(37.7% 0.153 344.8)

  11. Step 950

    950 (this color)

    #50173C

    oklch(31.1% 0.097 344.3)

Export this scale for Tailwind in the Tailwind colors tool

#50173C 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)#1D273D0.105
Deuteranopia (no green cones)#2D313B0.094
Tritanopia (no blue cones)#5617270.041
Achromatopsia (no color)#2D2D2D0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #50173C

    #50173C

    oklch(31.1% 0.097 344.3)

  • #003B28

    #003B28

    oklch(31.2% 0.066 164.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #50173C

    #50173C

    oklch(31.1% 0.097 344.3)

  • #421E52

    #421E52

    oklch(31.1% 0.097 314.2)

  • #571521

    #571521

    oklch(31.1% 0.096 14.4)

Open the analogous palette in the generator

Split complementary

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

  • #50173C

    #50173C

    oklch(31.1% 0.097 344.3)

  • #1B3A00

    #1B3A00

    oklch(31.2% 0.09 134.5)

  • #003938

    #003938

    oklch(31.2% 0.053 192.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #50173C

    #50173C

    oklch(31.1% 0.097 344.3)

  • #363200

    #363200

    oklch(31.1% 0.066 104.7)

  • #003646

    #003646

    oklch(30.9% 0.058 224.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #50173C

    #50173C

    oklch(31.1% 0.097 344.3)

  • #442B00

    #442B00

    oklch(31.2% 0.066 74.8)

  • #003B28

    #003B28

    oklch(31.2% 0.066 164.6)

  • #023060

    #023060

    oklch(31.1% 0.097 254.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #50173C 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.