#4F1B46

Closest named color: Grape Purple (#5D1451). oklch(31.9% 0.097 334.9), rgb(79, 27, 70).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (32%)
Chromamoderately saturated (0.097)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.57:1
White text13.31:1

Values

HEX#4F1B46
RGBrgb(79, 27, 70)
HSLhsl(310, 49%, 21%)
OKLCHoklch(31.9% 0.097 334.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 #4F1B46 13.31:1 AAA Lc -102.5 Preferred for body text
Black text on #4F1B46 1.57:1 Fails Lc 0.0 Not readable
#4F1B46 text on white 13.31:1 AAA Lc 99.2 Preferred for body text
#4F1B46 text on black 1.57: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

    #FCF2FA

    oklch(97.1% 0.015 332.2)

  2. Step 100

    100

    #F9E2F3

    oklch(93.6% 0.034 334.9)

  3. Step 200

    200

    #F5CAEA

    oklch(88.5% 0.064 335.3)

  4. Step 300

    300

    #EFA4DE

    oklch(80.9% 0.115 335.1)

  5. Step 400

    400

    #E46ECE

    oklch(70.8% 0.184 334.9)

  6. Step 500

    500

    #D83BC0

    oklch(63.1% 0.235 335)

  7. Step 600

    600

    #C100AB

    oklch(55.6% 0.248 334.8)

  8. Step 700

    700

    #A30090

    oklch(49.1% 0.218 334.9)

  9. Step 800

    800

    #870077

    oklch(42.7% 0.19 334.9)

  10. Step 900

    900

    #6E0F61

    oklch(37.7% 0.154 334.8)

  11. Step 950

    950 (this color)

    #4F1B46

    oklch(31.9% 0.097 334.9)

Export this scale for Tailwind in the Tailwind colors tool

#4F1B46 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)#1B2A470.102
Deuteranopia (no green cones)#2B32450.089
Tritanopia (no blue cones)#531E2D0.049
Achromatopsia (no color)#2F2F2F0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #4F1B46

    #4F1B46

    oklch(31.9% 0.097 334.9)

  • #003E20

    #003E20

    oklch(32% 0.079 155.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4F1B46

    #4F1B46

    oklch(31.9% 0.097 334.9)

  • #3E225A

    #3E225A

    oklch(31.8% 0.098 304.5)

  • #58172C

    #58172C

    oklch(31.9% 0.097 4.8)

Open the analogous palette in the generator

Split complementary

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

  • #4F1B46

    #4F1B46

    oklch(31.9% 0.097 334.9)

  • #293900

    #293900

    oklch(31.9% 0.08 125.2)

  • #003C36

    #003C36

    oklch(32% 0.057 183.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4F1B46

    #4F1B46

    oklch(31.9% 0.097 334.9)

  • #3D3200

    #3D3200

    oklch(32% 0.066 95.6)

  • #003A45

    #003A45

    oklch(32.1% 0.057 215.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4F1B46

    #4F1B46

    oklch(31.9% 0.097 334.9)

  • #4B2A00

    #4B2A00

    oklch(32% 0.071 65.7)

  • #003E20

    #003E20

    oklch(32% 0.079 155.1)

  • #003558

    #003558

    oklch(31.8% 0.08 245.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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