#4F315F

Closest named color: Grape Purple (#5D1451). oklch(37% 0.084 312.9), rgb(79, 49, 95).

Aa

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

About this color

#4F315F is a dark, moderately saturated purple. In OKLCH its lightness is 37%, its chroma 0.084 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.065 away. White text reads best on it, at 10.84:1.

Hue familyPurples
Lightnessdark (37%)
Chromamoderately saturated (0.084)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.93:1
White text10.84:1

Values

HEX#4F315F
RGBrgb(79, 49, 95)
HSLhsl(279, 32%, 28%)
OKLCHoklch(37% 0.084 312.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 #4F315F 10.84:1 AAA Lc -98.8 Preferred for body text
Black text on #4F315F 1.93:1 Fails Lc 9.0 Not readable
#4F315F text on white 10.84:1 AAA Lc 94.9 Preferred for body text
#4F315F text on black 1.93:1 Fails Lc -7.7 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

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #EEE7F3

    oklch(93.7% 0.018 311.6)

  3. Step 200

    200

    #E1D3EA

    oklch(88.5% 0.035 312.4)

  4. Step 300

    300

    #CFB5DE

    oklch(80.8% 0.063 313.2)

  5. Step 400

    400

    #B78ECE

    oklch(70.8% 0.101 313)

  6. Step 500

    500

    #A470C1

    oklch(63% 0.13 312.6)

  7. Step 600

    600

    #8F57AD

    oklch(55.5% 0.14 312.7)

  8. Step 700

    700

    #7A4794

    oklch(49.1% 0.129 313.1)

  9. Step 800

    800

    #633B78

    oklch(42.7% 0.107 312.9)

  10. Step 900

    900 (this color)

    #4F315F

    oklch(37% 0.084 312.9)

  11. Step 950

    950

    #2F1E39

    oklch(26.9% 0.053 312.1)

Export this scale for Tailwind in the Tailwind colors tool

#4F315F 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)#283B610.068
Deuteranopia (no green cones)#303E5E0.062
Tritanopia (no blue cones)#4E38430.058
Achromatopsia (no color)#3D3D3D0.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #4F315F

    #4F315F

    oklch(37% 0.084 312.9)

  • #2D4915

    #2D4915

    oklch(37% 0.085 133.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4F315F

    #4F315F

    oklch(37% 0.084 312.9)

  • #3A396A

    #3A396A

    oklch(37.1% 0.083 282.5)

  • #5D2C4B

    #5D2C4B

    oklch(37% 0.083 343.2)

Open the analogous palette in the generator

Split complementary

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

  • #4F315F

    #4F315F

    oklch(37% 0.084 312.9)

  • #484100

    #484100

    oklch(37.1% 0.078 102.6)

  • #004C33

    #004C33

    oklch(36.8% 0.08 163.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4F315F

    #4F315F

    oklch(37% 0.084 312.9)

  • #583800

    #583800

    oklch(37% 0.078 73.6)

  • #004A49

    #004A49

    oklch(37% 0.063 193.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4F315F

    #4F315F

    oklch(37% 0.084 312.9)

  • #632F17

    #632F17

    oklch(37% 0.083 44)

  • #2D4915

    #2D4915

    oklch(37% 0.085 133.2)

  • #00475A

    #00475A

    oklch(36.9% 0.069 223.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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