#9A1F74

Closest named color: Red Violet (#9E0168). oklch(47.4% 0.178 343.9), rgb(154, 31, 116).

Aa

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

About this color

#9A1F74 is a medium-dark, vivid purple. In OKLCH its lightness is 47%, its chroma 0.178 and its hue 344°. Its hue sits on the warm side of the wheel. The nearest named color is Red Violet (#9E0168), ΔE 0.026 away. White text reads best on it, at 7.44:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromavivid (0.178)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.82:1
White text7.44:1

Values

HEX#9A1F74
RGBrgb(154, 31, 116)
HSLhsl(319, 66%, 36%)
OKLCHoklch(47.4% 0.178 343.9)

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 #9A1F74 7.44:1 AAA Lc -89.4 Fine for body text
Black text on #9A1F74 2.82:1 Fails Lc 19.5 Dividers and decoration only
#9A1F74 text on white 7.44:1 AAA Lc 84.5 Fine for body text
#9A1F74 text on black 2.82:1 Fails Lc -17.5 Dividers and decoration only

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 700.

  1. Step 50

    50

    #FCF3F7

    oklch(97.2% 0.011 348.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

    #DB7BB6

    oklch(70.6% 0.138 343.6)

  6. Step 500

    500

    #CF55A3

    oklch(63.1% 0.177 344.1)

  7. Step 600

    600

    #BA358E

    oklch(55.6% 0.191 344.1)

  8. Step 700

    700 (this color)

    #9A1F74

    oklch(47.4% 0.178 343.9)

  9. Step 800

    800

    #822263

    oklch(42.8% 0.148 343.7)

  10. Step 900

    900

    #692250

    oklch(37.7% 0.115 344.3)

  11. Step 950

    950

    #3E152F

    oklch(27% 0.073 344.2)

Export this scale for Tailwind in the Tailwind colors tool

#9A1F74 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)#2E48760.200
Deuteranopia (no green cones)#555C710.171
Tritanopia (no blue cones)#A41E480.076
Achromatopsia (no color)#5555550.180

Harmonies

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

Complementary

The opposite hue (180°).

  • #9A1F74

    #9A1F74

    oklch(47.4% 0.178 343.9)

  • #006D4C

    #006D4C

    oklch(47.3% 0.101 163.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9A1F74

    #9A1F74

    oklch(47.4% 0.178 343.9)

  • #7F31A0

    #7F31A0

    oklch(47.5% 0.178 314)

  • #A8143C

    #A8143C

    oklch(47.3% 0.178 14)

Open the analogous palette in the generator

Split complementary

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

  • #9A1F74

    #9A1F74

    oklch(47.4% 0.178 343.9)

  • #396B00

    #396B00

    oklch(47.4% 0.136 133.9)

  • #006A69

    #006A69

    oklch(47.4% 0.081 193.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9A1F74

    #9A1F74

    oklch(47.4% 0.178 343.9)

  • #665E00

    #665E00

    oklch(47.4% 0.1 103.8)

  • #006681

    #006681

    oklch(47.4% 0.089 224.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9A1F74

    #9A1F74

    oklch(47.4% 0.178 343.9)

  • #7D5200

    #7D5200

    oklch(47.5% 0.1 74.2)

  • #006D4C

    #006D4C

    oklch(47.3% 0.101 163.9)

  • #005BAD

    #005BAD

    oklch(47.4% 0.15 253.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9A1F74.

Similar named colors

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

Use #9A1F74 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.