#5F1A48

Closest named color: Grape Purple (#5D1451). oklch(34.6% 0.113 343.8), rgb(95, 26, 72).

Aa

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

About this color

#5F1A48 is a dark, moderately saturated purple. In OKLCH its lightness is 35%, its chroma 0.113 and its hue 344°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.022 away. White text reads best on it, at 12.15:1.

Hue familyPurples
Lightnessdark (35%)
Chromamoderately saturated (0.113)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.72:1
White text12.15:1

Values

HEX#5F1A48
RGBrgb(95, 26, 72)
HSLhsl(320, 57%, 24%)
OKLCHoklch(34.6% 0.113 343.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 #5F1A48 12.15:1 AAA Lc -100.6 Preferred for body text
Black text on #5F1A48 1.72:1 Fails Lc 0.0 Not readable
#5F1A48 text on white 12.15:1 AAA Lc 97.0 Preferred for body text
#5F1A48 text on black 1.72: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 900.

  1. Step 50

    50

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F7E4EE

    oklch(93.7% 0.024 344.4)

  3. Step 200

    200

    #F1CDE1

    oklch(88.5% 0.048 343.6)

  4. Step 300

    300

    #E9ABCE

    oklch(80.9% 0.085 344.3)

  5. Step 400

    400

    #DB7CB6

    oklch(70.8% 0.137 343.7)

  6. Step 500

    500

    #CE56A3

    oklch(63% 0.174 343.9)

  7. Step 600

    600

    #B9368E

    oklch(55.5% 0.189 343.8)

  8. Step 700

    700

    #9F2779

    oklch(49.1% 0.176 343.7)

  9. Step 800

    800

    #812362

    oklch(42.6% 0.145 343.9)

  10. Step 900

    900 (this color)

    #5F1A48

    oklch(34.6% 0.113 343.8)

  11. Step 950

    950

    #3D162F

    oklch(27% 0.071 343.6)

Export this scale for Tailwind in the Tailwind colors tool

#5F1A48 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)#212E490.124
Deuteranopia (no green cones)#353A460.110
Tritanopia (no blue cones)#651A2E0.048
Achromatopsia (no color)#3636360.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F1A48

    #5F1A48

    oklch(34.6% 0.113 343.8)

  • #00452F

    #00452F

    oklch(34.6% 0.074 164.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F1A48

    #5F1A48

    oklch(34.6% 0.113 343.8)

  • #4E2362

    #4E2362

    oklch(34.7% 0.113 313.6)

  • #681727

    #681727

    oklch(34.8% 0.113 14.3)

Open the analogous palette in the generator

Split complementary

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

  • #5F1A48

    #5F1A48

    oklch(34.6% 0.113 343.8)

  • #224400

    #224400

    oklch(34.7% 0.099 133.9)

  • #004342

    #004342

    oklch(34.6% 0.059 193.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F1A48

    #5F1A48

    oklch(34.6% 0.113 343.8)

  • #403B00

    #403B00

    oklch(34.6% 0.073 104.2)

  • #004052

    #004052

    oklch(34.5% 0.065 223.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F1A48

    #5F1A48

    oklch(34.6% 0.113 343.8)

  • #503300

    #503300

    oklch(34.7% 0.073 74.3)

  • #00452F

    #00452F

    oklch(34.6% 0.074 164.2)

  • #003970

    #003970

    oklch(34.6% 0.109 253.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #5F1A48.

Similar named colors

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

Use #5F1A48 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.