#5A2F60

Closest named color: Grape Purple (#5D1451). oklch(38.1% 0.095 322.6), rgb(90, 47, 96).

Aa

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

About this color

#5A2F60 is a dark, moderately saturated purple. In OKLCH its lightness is 38%, its chroma 0.095 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.057 away. White text reads best on it, at 10.44:1.

Hue familyPurples
Lightnessdark (38%)
Chromamoderately saturated (0.095)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text2.01:1
White text10.44:1

Values

HEX#5A2F60
RGBrgb(90, 47, 96)
HSLhsl(293, 34%, 28%)
OKLCHoklch(38.1% 0.095 322.6)

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 #5A2F60 10.44:1 AAA Lc -98.0 Preferred for body text
Black text on #5A2F60 2.01:1 Fails Lc 10.0 Not readable
#5A2F60 text on white 10.44:1 AAA Lc 94.0 Preferred for body text
#5A2F60 text on black 2.01:1 Fails Lc -8.6 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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F1E6F2

    oklch(93.7% 0.02 323.2)

  3. Step 200

    200

    #E6D1E9

    oklch(88.5% 0.04 322)

  4. Step 300

    300

    #D7B2DC

    oklch(80.9% 0.071 322.3)

  5. Step 400

    400

    #C288CA

    oklch(70.7% 0.113 322.4)

  6. Step 500

    500

    #B268BD

    oklch(63.1% 0.146 322.3)

  7. Step 600

    600

    #9D4DA9

    oklch(55.5% 0.16 322.3)

  8. Step 700

    700

    #863E91

    oklch(49.1% 0.147 322.2)

  9. Step 800

    800

    #6D3475

    oklch(42.7% 0.121 322.6)

  10. Step 900

    900 (this color)

    #5A2F60

    oklch(38.1% 0.095 322.6)

  11. Step 950

    950

    #341B38

    oklch(26.9% 0.062 321.9)

Export this scale for Tailwind in the Tailwind colors tool

#5A2F60 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)#283C620.089
Deuteranopia (no green cones)#35415F0.079
Tritanopia (no blue cones)#5B35430.057
Achromatopsia (no color)#4040400.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A2F60

    #5A2F60

    oklch(38.1% 0.095 322.6)

  • #1F4F1D

    #1F4F1D

    oklch(38.2% 0.095 142.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A2F60

    #5A2F60

    oklch(38.1% 0.095 322.6)

  • #453770

    #453770

    oklch(38.1% 0.095 292.6)

  • #672A47

    #672A47

    oklch(38.1% 0.094 352.8)

Open the analogous palette in the generator

Split complementary

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

  • #5A2F60

    #5A2F60

    oklch(38.1% 0.095 322.6)

  • #444700

    #444700

    oklch(38.2% 0.085 112.5)

  • #004F3F

    #004F3F

    oklch(38.1% 0.073 173.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A2F60

    #5A2F60

    oklch(38.1% 0.095 322.6)

  • #573E00

    #573E00

    oklch(38.2% 0.079 82.8)

  • #004D52

    #004D52

    oklch(38.3% 0.065 202.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A2F60

    #5A2F60

    oklch(38.1% 0.095 322.6)

  • #693103

    #693103

    oklch(38.2% 0.096 52.2)

  • #1F4F1D

    #1F4F1D

    oklch(38.2% 0.095 142.8)

  • #004965

    #004965

    oklch(38.1% 0.078 232.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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