#4A1F58

Closest named color: Plum Purple (#4E0550). oklch(32.9% 0.106 317), rgb(74, 31, 88).

Aa

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

About this color

#4A1F58 is a dark, moderately saturated purple. In OKLCH its lightness is 33%, its chroma 0.106 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum Purple (#4E0550), ΔE 0.043 away. White text reads best on it, at 12.89:1.

Hue familyPurples
Lightnessdark (33%)
Chromamoderately saturated (0.106)
Temperaturein between
Nearest namePlum Purple (#4E0550)
Black text1.62:1
White text12.89:1

Values

HEX#4A1F58
RGBrgb(74, 31, 88)
HSLhsl(285, 48%, 23%)
OKLCHoklch(32.9% 0.106 317)

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 #4A1F58 12.89:1 AAA Lc -102.0 Preferred for body text
Black text on #4A1F58 1.62:1 Fails Lc 0.0 Not readable
#4A1F58 text on white 12.89:1 AAA Lc 98.6 Preferred for body text
#4A1F58 text on black 1.62: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

    #F8F3FA

    oklch(97% 0.011 316.5)

  2. Step 100

    100

    #F0E5F4

    oklch(93.5% 0.023 317.1)

  3. Step 200

    200

    #E5D1ED

    oklch(88.5% 0.043 316.4)

  4. Step 300

    300

    #D6B1E3

    oklch(80.9% 0.08 317.2)

  5. Step 400

    400

    #C086D5

    oklch(70.6% 0.128 316.8)

  6. Step 500

    500

    #B066C9

    oklch(63.1% 0.161 317.1)

  7. Step 600

    600

    #9B4AB6

    oklch(55.6% 0.176 316.9)

  8. Step 700

    700

    #853A9D

    oklch(49.1% 0.165 317.1)

  9. Step 800

    800

    #6C317F

    oklch(42.7% 0.136 317.2)

  10. Step 900

    900 (this color)

    #4A1F58

    oklch(32.9% 0.106 317)

  11. Step 950

    950

    #331B3C

    oklch(27% 0.066 316.2)

Export this scale for Tailwind in the Tailwind colors tool

#4A1F58 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)#0F2F5A0.100
Deuteranopia (no green cones)#2033570.087
Tritanopia (no blue cones)#4929380.069
Achromatopsia (no color)#3232320.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #4A1F58

    #4A1F58

    oklch(32.9% 0.106 317)

  • #184000

    #184000

    oklch(32.9% 0.1 137.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4A1F58

    #4A1F58

    oklch(32.9% 0.106 317)

  • #332867

    #332867

    oklch(32.7% 0.106 287)

  • #59183F

    #59183F

    oklch(32.9% 0.105 347.5)

Open the analogous palette in the generator

Split complementary

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

  • #4A1F58

    #4A1F58

    oklch(32.9% 0.106 317)

  • #393700

    #393700

    oklch(32.8% 0.071 107.5)

  • #00402E

    #00402E

    oklch(33% 0.067 167.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4A1F58

    #4A1F58

    oklch(32.9% 0.106 317)

  • #482F00

    #482F00

    oklch(32.7% 0.068 76.8)

  • #003E3F

    #003E3F

    oklch(33% 0.056 196.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4A1F58

    #4A1F58

    oklch(32.9% 0.106 317)

  • #592200

    #592200

    oklch(32.9% 0.091 46.6)

  • #184000

    #184000

    oklch(32.9% 0.1 137.1)

  • #003B4E

    #003B4E

    oklch(32.9% 0.063 226.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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