#4F173F

Closest named color: Deep Violet (#490648). oklch(31% 0.098 340.8), rgb(79, 23, 63).

Aa

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

About this color

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

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

Values

HEX#4F173F
RGBrgb(79, 23, 63)
HSLhsl(317, 55%, 20%)
OKLCHoklch(31% 0.098 340.8)

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 #4F173F 13.75:1 AAA Lc -102.9 Preferred for body text
Black text on #4F173F 1.52:1 Fails Lc 0.0 Not readable
#4F173F text on white 13.75:1 AAA Lc 99.8 Preferred for body text
#4F173F 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

    #FDF2F9

    oklch(97.2% 0.015 338.9)

  2. Step 100

    100

    #FBE2F1

    oklch(93.7% 0.034 341)

  3. Step 200

    200

    #F8C9E6

    oklch(88.5% 0.065 341)

  4. Step 300

    300

    #F4A2D7

    oklch(80.9% 0.117 341)

  5. Step 400

    400

    #EA6BC3

    oklch(70.8% 0.186 340.8)

  6. Step 500

    500

    #DF35B3

    oklch(63% 0.237 340.8)

  7. Step 600

    600

    #C6009C

    oklch(55.7% 0.241 341)

  8. Step 700

    700

    #A70084

    oklch(49.1% 0.213 340.6)

  9. Step 800

    800

    #8A006C

    oklch(42.7% 0.185 340.9)

  10. Step 900

    900

    #720A59

    oklch(37.7% 0.154 341.1)

  11. Step 950

    950 (this color)

    #4F173F

    oklch(31% 0.098 340.8)

Export this scale for Tailwind in the Tailwind colors tool

#4F173F 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)#1B27400.106
Deuteranopia (no green cones)#2C303E0.092
Tritanopia (no blue cones)#5418280.045
Achromatopsia (no color)#2D2D2D0.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #4F173F

    #4F173F

    oklch(31% 0.098 340.8)

  • #003B24

    #003B24

    oklch(31.1% 0.07 160.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4F173F

    #4F173F

    oklch(31% 0.098 340.8)

  • #401E54

    #401E54

    oklch(31% 0.098 311)

  • #571424

    #571424

    oklch(31.1% 0.098 11)

Open the analogous palette in the generator

Split complementary

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

  • #4F173F

    #4F173F

    oklch(31% 0.098 340.8)

  • #213800

    #213800

    oklch(31% 0.084 130.4)

  • #003937

    #003937

    oklch(31.1% 0.054 190.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4F173F

    #4F173F

    oklch(31% 0.098 340.8)

  • #383100

    #383100

    oklch(31.1% 0.065 100.7)

  • #003744

    #003744

    oklch(31.1% 0.056 219.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4F173F

    #4F173F

    oklch(31% 0.098 340.8)

  • #452900

    #452900

    oklch(30.9% 0.067 70.3)

  • #003B24

    #003B24

    oklch(31.1% 0.07 160.2)

  • #00315C

    #00315C

    oklch(31% 0.091 251.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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