#4E173F

Closest named color: Deep Violet (#490648). oklch(30.9% 0.097 340.1), rgb(78, 23, 63).

Aa

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

About this color

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

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

Values

HEX#4E173F
RGBrgb(78, 23, 63)
HSLhsl(316, 54%, 20%)
OKLCHoklch(30.9% 0.097 340.1)

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 #4E173F 13.83:1 AAA Lc -103.0 Preferred for body text
Black text on #4E173F 1.51:1 Fails Lc 0.0 Not readable
#4E173F text on white 13.83:1 AAA Lc 99.9 Preferred for body text
#4E173F text on black 1.51: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

    #FDF2F9

    oklch(97.2% 0.015 338.9)

  2. Step 100

    100

    #FAE2F1

    oklch(93.7% 0.033 339.8)

  3. Step 200

    200

    #F7C9E6

    oklch(88.4% 0.064 340.3)

  4. Step 300

    300

    #F3A3D8

    oklch(80.9% 0.115 340.1)

  5. Step 400

    400

    #E96BC4

    oklch(70.7% 0.185 340.2)

  6. Step 500

    500

    #DE37B5

    oklch(63.1% 0.236 340)

  7. Step 600

    600

    #C5009E

    oklch(55.6% 0.241 340)

  8. Step 700

    700

    #A70085

    oklch(49.1% 0.213 340.2)

  9. Step 800

    800

    #8A006E

    oklch(42.8% 0.186 340)

  10. Step 900

    900

    #710C5A

    oklch(37.6% 0.153 340.1)

  11. Step 950

    950 (this color)

    #4E173F

    oklch(30.9% 0.097 340.1)

Export this scale for Tailwind in the Tailwind colors tool

#4E173F 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)#1A27400.105
Deuteranopia (no green cones)#2B303E0.092
Tritanopia (no blue cones)#5318280.045
Achromatopsia (no color)#2D2D2D0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E173F

    #4E173F

    oklch(30.9% 0.097 340.1)

  • #003A23

    #003A23

    oklch(30.7% 0.07 159.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E173F

    #4E173F

    oklch(30.9% 0.097 340.1)

  • #3F1E54

    #3F1E54

    oklch(30.9% 0.098 310.1)

  • #561424

    #561424

    oklch(30.9% 0.097 10.7)

Open the analogous palette in the generator

Split complementary

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

  • #4E173F

    #4E173F

    oklch(30.9% 0.097 340.1)

  • #213800

    #213800

    oklch(31% 0.084 130.4)

  • #003836

    #003836

    oklch(30.8% 0.053 190.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E173F

    #4E173F

    oklch(30.9% 0.097 340.1)

  • #383000

    #383000

    oklch(30.8% 0.064 99.2)

  • #003644

    #003644

    oklch(30.8% 0.057 221.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E173F

    #4E173F

    oklch(30.9% 0.097 340.1)

  • #452900

    #452900

    oklch(30.9% 0.067 70.3)

  • #003A23

    #003A23

    oklch(30.7% 0.07 159.9)

  • #00315A

    #00315A

    oklch(30.9% 0.088 250.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4E173F 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.