#4A1F97

Closest named color: Imperial Purple (#480CA8). oklch(38.1% 0.179 291.9), rgb(74, 31, 151).

Aa

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

About this color

#4A1F97 is a dark, vivid purple. In OKLCH its lightness is 38%, its chroma 0.179 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Imperial Purple (#480CA8), ΔE 0.033 away. White text reads best on it, at 10.85:1.

Hue familyPurples
Lightnessdark (38%)
Chromavivid (0.179)
Temperaturein between
Nearest nameImperial Purple (#480CA8)
Black text1.93:1
White text10.85:1

Values

HEX#4A1F97
RGBrgb(74, 31, 151)
HSLhsl(262, 66%, 36%)
OKLCHoklch(38.1% 0.179 291.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 #4A1F97 10.85:1 AAA Lc -98.2 Preferred for body text
Black text on #4A1F97 1.93:1 Fails Lc 9.8 Not readable
#4A1F97 text on white 10.85:1 AAA Lc 94.2 Preferred for body text
#4A1F97 text on black 1.93:1 Fails Lc -8.4 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

    #F5F4FF

    oklch(97.1% 0.015 290.3)

  2. Step 100

    100

    #EAE6FF

    oklch(93.6% 0.034 293.1)

  3. Step 200

    200

    #D9D3FF

    oklch(88.6% 0.06 291.4)

  4. Step 300

    300

    #C1B4FF

    oklch(80.8% 0.105 291.8)

  5. Step 400

    400

    #A48AFF

    oklch(70.7% 0.167 291.8)

  6. Step 500

    500

    #9066FF

    oklch(63.1% 0.217 291.6)

  7. Step 600

    600

    #8035FF

    oklch(55.6% 0.269 291.9)

  8. Step 700

    700

    #6F00EA

    oklch(49.1% 0.274 291.8)

  9. Step 800

    800

    #5A10BE

    oklch(42.7% 0.229 291.8)

  10. Step 900

    900 (this color)

    #4A1F97

    oklch(38.1% 0.179 291.9)

  11. Step 950

    950

    #2A1458

    oklch(27% 0.114 291.7)

Export this scale for Tailwind in the Tailwind colors tool

#4A1F97 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)#003F9A0.096
Deuteranopia (no green cones)#003B950.094
Tritanopia (no blue cones)#30415B0.140
Achromatopsia (no color)#3D3D3D0.180

Harmonies

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

Complementary

The opposite hue (180°).

  • #4A1F97

    #4A1F97

    oklch(38.1% 0.179 291.9)

  • #444700

    #444700

    oklch(38.2% 0.085 112.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4A1F97

    #4A1F97

    oklch(38.1% 0.179 291.9)

  • #00369D

    #00369D

    oklch(38.1% 0.175 261.9)

  • #6B0379

    #6B0379

    oklch(38.2% 0.179 322)

Open the analogous palette in the generator

Split complementary

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

  • #4A1F97

    #4A1F97

    oklch(38.1% 0.179 291.9)

  • #573E00

    #573E00

    oklch(38.2% 0.079 82.8)

  • #065200

    #065200

    oklch(38.1% 0.128 141.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4A1F97

    #4A1F97

    oklch(38.1% 0.179 291.9)

  • #6A3000

    #6A3000

    oklch(38.1% 0.098 51.7)

  • #004F3E

    #004F3E

    oklch(38.1% 0.074 172)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4A1F97

    #4A1F97

    oklch(38.1% 0.179 291.9)

  • #810019

    #810019

    oklch(38.1% 0.153 21.9)

  • #444700

    #444700

    oklch(38.2% 0.085 112.5)

  • #004D51

    #004D51

    oklch(38.2% 0.065 200.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #4A1F97.

Similar named colors

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

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