#4F1946

Closest named color: Grape Purple (#5D1451). oklch(31.7% 0.101 334.8), rgb(79, 25, 70).

Aa

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

About this color

#4F1946 is a dark, moderately saturated purple. In OKLCH its lightness is 32%, its chroma 0.101 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.036 away. White text reads best on it, at 13.46:1.

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

Values

HEX#4F1946
RGBrgb(79, 25, 70)
HSLhsl(310, 52%, 20%)
OKLCHoklch(31.7% 0.101 334.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 #4F1946 13.46:1 AAA Lc -102.6 Preferred for body text
Black text on #4F1946 1.55:1 Fails Lc 0.0 Not readable
#4F1946 text on white 13.46:1 AAA Lc 99.4 Preferred for body text
#4F1946 text on black 1.55: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

    #FDF2FA

    oklch(97.2% 0.016 335.1)

  2. Step 100

    100

    #F9E2F3

    oklch(93.6% 0.034 334.9)

  3. Step 200

    200

    #F6C9EB

    oklch(88.5% 0.067 334.9)

  4. Step 300

    300

    #F0A3DF

    oklch(80.9% 0.118 334.9)

  5. Step 400

    400

    #E56BCF

    oklch(70.6% 0.191 334.8)

  6. Step 500

    500

    #DA35C2

    oklch(63% 0.244 334.9)

  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

    #6F0A62

    oklch(37.6% 0.159 334.7)

  11. Step 950

    950 (this color)

    #4F1946

    oklch(31.7% 0.101 334.8)

Export this scale for Tailwind in the Tailwind colors tool

#4F1946 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)#192A470.106
Deuteranopia (no green cones)#2A32450.094
Tritanopia (no blue cones)#531D2C0.052
Achromatopsia (no color)#2F2F2F0.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #4F1946

    #4F1946

    oklch(31.7% 0.101 334.8)

  • #003D1F

    #003D1F

    oklch(31.6% 0.079 154.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4F1946

    #4F1946

    oklch(31.7% 0.101 334.8)

  • #3E215A

    #3E215A

    oklch(31.7% 0.1 304.8)

  • #59142B

    #59142B

    oklch(31.7% 0.101 5)

Open the analogous palette in the generator

Split complementary

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

  • #4F1946

    #4F1946

    oklch(31.7% 0.101 334.8)

  • #293800

    #293800

    oklch(31.6% 0.079 124.5)

  • #003B36

    #003B36

    oklch(31.7% 0.056 185.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4F1946

    #4F1946

    oklch(31.7% 0.101 334.8)

  • #3D3100

    #3D3100

    oklch(31.7% 0.065 94)

  • #003944

    #003944

    oklch(31.7% 0.056 215.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4F1946

    #4F1946

    oklch(31.7% 0.101 334.8)

  • #4A2900

    #4A2900

    oklch(31.7% 0.071 65.1)

  • #003D1F

    #003D1F

    oklch(31.6% 0.079 154.8)

  • #003557

    #003557

    oklch(31.7% 0.079 244.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #4F1946.

Similar named colors

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

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