#4F1948

Closest named color: Grape Purple (#5D1451). oklch(31.8% 0.103 333.2), rgb(79, 25, 72).

Aa

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

About this color

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

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

Values

HEX#4F1948
RGBrgb(79, 25, 72)
HSLhsl(308, 52%, 20%)
OKLCHoklch(31.8% 0.103 333.2)

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 #4F1948 13.41:1 AAA Lc -102.6 Preferred for body text
Black text on #4F1948 1.56:1 Fails Lc 0.0 Not readable
#4F1948 text on white 13.41:1 AAA Lc 99.3 Preferred for body text
#4F1948 text on black 1.56: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

    #F9E2F4

    oklch(93.7% 0.034 333.2)

  3. Step 200

    200

    #F5C9EC

    oklch(88.4% 0.067 333.3)

  4. Step 300

    300

    #F0A3E2

    oklch(81% 0.121 333.3)

  5. Step 400

    400

    #E56BD3

    oklch(70.8% 0.194 333.4)

  6. Step 500

    500

    #DA34C7

    oklch(63.2% 0.248 333.4)

  7. Step 600

    600

    #C000AF

    oklch(55.7% 0.25 333.3)

  8. Step 700

    700

    #A20094

    oklch(49.1% 0.22 333.1)

  9. Step 800

    800

    #86007A

    oklch(42.7% 0.192 333.2)

  10. Step 900

    900

    #6F0865

    oklch(37.7% 0.162 333.2)

  11. Step 950

    950 (this color)

    #4F1948

    oklch(31.8% 0.103 333.2)

Export this scale for Tailwind in the Tailwind colors tool

#4F1948 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)#182A490.107
Deuteranopia (no green cones)#2932470.094
Tritanopia (no blue cones)#531D2E0.052
Achromatopsia (no color)#2F2F2F0.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #4F1948

    #4F1948

    oklch(31.8% 0.103 333.2)

  • #003E1D

    #003E1D

    oklch(31.9% 0.082 153)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4F1948

    #4F1948

    oklch(31.8% 0.103 333.2)

  • #3D215C

    #3D215C

    oklch(31.7% 0.103 302.8)

  • #59142D

    #59142D

    oklch(31.7% 0.102 3.1)

Open the analogous palette in the generator

Split complementary

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

  • #4F1948

    #4F1948

    oklch(31.8% 0.103 333.2)

  • #2B3800

    #2B3800

    oklch(31.7% 0.078 122.9)

  • #003B35

    #003B35

    oklch(31.7% 0.056 183.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4F1948

    #4F1948

    oklch(31.8% 0.103 333.2)

  • #3E3100

    #3E3100

    oklch(31.8% 0.065 92.7)

  • #003943

    #003943

    oklch(31.7% 0.056 213.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4F1948

    #4F1948

    oklch(31.8% 0.103 333.2)

  • #4B2900

    #4B2900

    oklch(31.8% 0.072 64.2)

  • #003E1D

    #003E1D

    oklch(31.9% 0.082 153)

  • #003556

    #003556

    oklch(31.7% 0.078 243.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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