#4B1F42

Closest named color: Grape Purple (#5D1451). oklch(31.7% 0.083 335.8), rgb(75, 31, 66).

Aa

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

About this color

#4B1F42 is a dark, moderately saturated purple. In OKLCH its lightness is 32%, its chroma 0.083 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.050 away. White text reads best on it, at 13.34:1.

Hue familyPurples
Lightnessdark (32%)
Chromamoderately saturated (0.083)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.57:1
White text13.34:1

Values

HEX#4B1F42
RGBrgb(75, 31, 66)
HSLhsl(312, 42%, 21%)
OKLCHoklch(31.7% 0.083 335.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 #4B1F42 13.34:1 AAA Lc -102.6 Preferred for body text
Black text on #4B1F42 1.57:1 Fails Lc 0.0 Not readable
#4B1F42 text on white 13.34:1 AAA Lc 99.4 Preferred for body text
#4B1F42 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

    #FCF2F9

    oklch(97.1% 0.014 336.1)

  2. Step 100

    100

    #F7E3F1

    oklch(93.6% 0.028 336.4)

  3. Step 200

    200

    #F1CCE7

    oklch(88.5% 0.054 335.7)

  4. Step 300

    300

    #E9A8D9

    oklch(80.8% 0.099 335.6)

  5. Step 400

    400

    #DC77C6

    oklch(70.8% 0.158 335.9)

  6. Step 500

    500

    #CF4DB7

    oklch(63% 0.202 335.7)

  7. Step 600

    600

    #BA28A3

    oklch(55.6% 0.218 335.6)

  8. Step 700

    700

    #A0168B

    oklch(49% 0.203 335.9)

  9. Step 800

    800

    #821871

    oklch(42.6% 0.168 335.8)

  10. Step 900

    900

    #691D5C

    oklch(37.7% 0.132 335.5)

  11. Step 950

    950 (this color)

    #4B1F42

    oklch(31.7% 0.083 335.8)

Export this scale for Tailwind in the Tailwind colors tool

#4B1F42 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)#1F2B430.086
Deuteranopia (no green cones)#2C32410.077
Tritanopia (no blue cones)#4F212D0.041
Achromatopsia (no color)#2F2F2F0.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #4B1F42

    #4B1F42

    oklch(31.7% 0.083 335.8)

  • #003D20

    #003D20

    oklch(31.6% 0.077 155.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4B1F42

    #4B1F42

    oklch(31.7% 0.083 335.8)

  • #3D2553

    #3D2553

    oklch(31.8% 0.083 306.3)

  • #531C2C

    #531C2C

    oklch(31.6% 0.083 5.1)

Open the analogous palette in the generator

Split complementary

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

  • #4B1F42

    #4B1F42

    oklch(31.7% 0.083 335.8)

  • #283900

    #283900

    oklch(31.8% 0.081 126)

  • #003B36

    #003B36

    oklch(31.7% 0.056 185.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4B1F42

    #4B1F42

    oklch(31.7% 0.083 335.8)

  • #3C3100

    #3C3100

    oklch(31.6% 0.065 95.3)

  • #003944

    #003944

    oklch(31.7% 0.056 215.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4B1F42

    #4B1F42

    oklch(31.7% 0.083 335.8)

  • #4A2900

    #4A2900

    oklch(31.7% 0.071 65.1)

  • #003D20

    #003D20

    oklch(31.6% 0.077 155.5)

  • #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 #4B1F42, closest first.

Similar named colors

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

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