#4F3258

Closest named color: Grape Purple (#5D1451). oklch(36.8% 0.073 317.9), rgb(79, 50, 88).

Aa

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

About this color

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

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

Values

HEX#4F3258
RGBrgb(79, 50, 88)
HSLhsl(286, 28%, 27%)
OKLCHoklch(36.8% 0.073 317.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 #4F3258 10.88:1 AAA Lc -99.0 Preferred for body text
Black text on #4F3258 1.92:1 Fails Lc 8.8 Not readable
#4F3258 text on white 10.88:1 AAA Lc 95.1 Preferred for body text
#4F3258 text on black 1.92:1 Fails Lc -7.6 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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EEE7F1

    oklch(93.6% 0.015 316)

  3. Step 200

    200

    #E2D3E6

    oklch(88.5% 0.03 319.1)

  4. Step 300

    300

    #D0B6D8

    oklch(80.9% 0.055 318.2)

  5. Step 400

    400

    #B88FC4

    oklch(70.7% 0.088 318.5)

  6. Step 500

    500

    #A573B5

    oklch(63.1% 0.111 317.7)

  7. Step 600

    600

    #905AA1

    oklch(55.5% 0.122 317.8)

  8. Step 700

    700

    #7B4A8A

    oklch(49.2% 0.113 317.9)

  9. Step 800

    800

    #643D70

    oklch(42.7% 0.094 317.9)

  10. Step 900

    900 (this color)

    #4F3258

    oklch(36.8% 0.073 317.9)

  11. Step 950

    950

    #301F35

    oklch(27% 0.046 318.4)

Export this scale for Tailwind in the Tailwind colors tool

#4F3258 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)#2C3B590.062
Deuteranopia (no green cones)#343E570.056
Tritanopia (no blue cones)#4F37410.047
Achromatopsia (no color)#3D3D3D0.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #4F3258

    #4F3258

    oklch(36.8% 0.073 317.9)

  • #2B4820

    #2B4820

    oklch(36.8% 0.073 137.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4F3258

    #4F3258

    oklch(36.8% 0.073 317.9)

  • #3E3863

    #3E3863

    oklch(36.8% 0.073 288.7)

  • #5B2E46

    #5B2E46

    oklch(36.8% 0.073 348.1)

Open the analogous palette in the generator

Split complementary

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

  • #4F3258

    #4F3258

    oklch(36.8% 0.073 317.9)

  • #43420A

    #43420A

    oklch(36.9% 0.073 108.4)

  • #044B38

    #044B38

    oklch(36.8% 0.072 168.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4F3258

    #4F3258

    oklch(36.8% 0.073 317.9)

  • #543A06

    #543A06

    oklch(36.9% 0.073 78.7)

  • #00494B

    #00494B

    oklch(36.8% 0.063 197.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4F3258

    #4F3258

    oklch(36.8% 0.073 317.9)

  • #5E321A

    #5E321A

    oklch(36.8% 0.073 47.8)

  • #2B4820

    #2B4820

    oklch(36.8% 0.073 137.7)

  • #00465D

    #00465D

    oklch(36.8% 0.072 228.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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