#5F125F

Closest named color: Grape Purple (#5D1451). oklch(35.2% 0.142 328.1), rgb(95, 18, 95).

Aa

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

About this color

#5F125F is a dark, vivid purple. In OKLCH its lightness is 35%, its chroma 0.142 and its hue 328°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.025 away. White text reads best on it, at 12.08:1.

Hue familyPurples
Lightnessdark (35%)
Chromavivid (0.142)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.73:1
White text12.08:1

Values

HEX#5F125F
RGBrgb(95, 18, 95)
HSLhsl(300, 68%, 22%)
OKLCHoklch(35.2% 0.142 328.1)

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 #5F125F 12.08:1 AAA Lc -100.2 Preferred for body text
Black text on #5F125F 1.73:1 Fails Lc 7.4 Not readable
#5F125F text on white 12.08:1 AAA Lc 96.5 Preferred for body text
#5F125F text on black 1.73: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

    #FBF2FA

    oklch(97% 0.014 329.1)

  2. Step 100

    100

    #F6E3F4

    oklch(93.6% 0.03 329.1)

  3. Step 200

    200

    #EFCCED

    oklch(88.5% 0.058 327.9)

  4. Step 300

    300

    #E6A8E3

    oklch(80.8% 0.106 328.1)

  5. Step 400

    400

    #D876D5

    oklch(70.8% 0.169 328.3)

  6. Step 500

    500

    #CB4ACA

    oklch(63.1% 0.218 328.1)

  7. Step 600

    600

    #B621B6

    oklch(55.6% 0.235 328.2)

  8. Step 700

    700

    #9C0C9D

    oklch(49% 0.219 328)

  9. Step 800

    800

    #7F137F

    oklch(42.7% 0.182 328.2)

  10. Step 900

    900 (this color)

    #5F125F

    oklch(35.2% 0.142 328.1)

  11. Step 950

    950

    #3C123C

    oklch(27% 0.089 327.7)

Export this scale for Tailwind in the Tailwind colors tool

#5F125F 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)#0130610.154
Deuteranopia (no green cones)#28395D0.128
Tritanopia (no blue cones)#621F380.079
Achromatopsia (no color)#3636360.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F125F

    #5F125F

    oklch(35.2% 0.142 328.1)

  • #004818

    #004818

    oklch(35% 0.101 148)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F125F

    #5F125F

    oklch(35.2% 0.142 328.1)

  • #462179

    #462179

    oklch(35.2% 0.141 297.9)

  • #6E023B

    #6E023B

    oklch(35.1% 0.141 357.6)

Open the analogous palette in the generator

Split complementary

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

  • #5F125F

    #5F125F

    oklch(35.2% 0.142 328.1)

  • #374000

    #374000

    oklch(35.1% 0.082 118.3)

  • #00463B

    #00463B

    oklch(35.3% 0.065 177.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F125F

    #5F125F

    oklch(35.2% 0.142 328.1)

  • #4B3800

    #4B3800

    oklch(35.2% 0.072 87.3)

  • #00434B

    #00434B

    oklch(35% 0.06 208.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F125F

    #5F125F

    oklch(35.2% 0.142 328.1)

  • #5A2E00

    #5A2E00

    oklch(35.2% 0.083 58.8)

  • #004818

    #004818

    oklch(35% 0.101 148)

  • #00405F

    #00405F

    oklch(35.3% 0.078 238.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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