#4F173D

Closest named color: Deep Violet (#490648). oklch(30.9% 0.097 342.7), rgb(79, 23, 61).

Aa

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

About this color

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

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

Values

HEX#4F173D
RGBrgb(79, 23, 61)
HSLhsl(319, 55%, 20%)
OKLCHoklch(30.9% 0.097 342.7)

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

    #FDF2F8

    oklch(97.1% 0.014 343.2)

  2. Step 100

    100

    #FBE2F0

    oklch(93.7% 0.033 343)

  3. Step 200

    200

    #F8C9E4

    oklch(88.5% 0.063 343.1)

  4. Step 300

    300

    #F4A3D4

    oklch(80.9% 0.113 342.9)

  5. Step 400

    400

    #EB6BBF

    oklch(70.8% 0.184 342.7)

  6. Step 500

    500

    #E036AE

    oklch(63% 0.233 342.8)

  7. Step 600

    600

    #C70098

    oklch(55.6% 0.239 342.6)

  8. Step 700

    700

    #A80080

    oklch(49.1% 0.211 342.5)

  9. Step 800

    800

    #8B0069

    oklch(42.7% 0.183 342.7)

  10. Step 900

    900

    #730B57

    oklch(37.8% 0.153 342.7)

  11. Step 950

    950 (this color)

    #4F173D

    oklch(30.9% 0.097 342.7)

Export this scale for Tailwind in the Tailwind colors tool

#4F173D 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)#1C273E0.104
Deuteranopia (no green cones)#2C303C0.092
Tritanopia (no blue cones)#5417270.042
Achromatopsia (no color)#2D2D2D0.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #4F173D

    #4F173D

    oklch(30.9% 0.097 342.7)

  • #003A26

    #003A26

    oklch(30.8% 0.067 163.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4F173D

    #4F173D

    oklch(30.9% 0.097 342.7)

  • #411E52

    #411E52

    oklch(31% 0.096 313.2)

  • #561422

    #561422

    oklch(30.8% 0.097 12.6)

Open the analogous palette in the generator

Split complementary

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

  • #4F173D

    #4F173D

    oklch(30.9% 0.097 342.7)

  • #1E3900

    #1E3900

    oklch(31.1% 0.087 132.6)

  • #003837

    #003837

    oklch(30.8% 0.053 192.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4F173D

    #4F173D

    oklch(30.9% 0.097 342.7)

  • #373100

    #373100

    oklch(31% 0.065 102)

  • #003645

    #003645

    oklch(30.9% 0.057 222.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4F173D

    #4F173D

    oklch(30.9% 0.097 342.7)

  • #442A00

    #442A00

    oklch(31% 0.066 73.1)

  • #003A26

    #003A26

    oklch(30.8% 0.067 163.1)

  • #00305E

    #00305E

    oklch(30.9% 0.095 252.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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