#5A2A67

Closest named color: Grape Purple (#5D1451). oklch(37.7% 0.112 318.7), rgb(90, 42, 103).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (38%)
Chromamoderately saturated (0.112)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.96:1
White text10.70:1

Values

HEX#5A2A67
RGBrgb(90, 42, 103)
HSLhsl(287, 42%, 28%)
OKLCHoklch(37.7% 0.112 318.7)

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 #5A2A67 10.70:1 AAA Lc -98.4 Preferred for body text
Black text on #5A2A67 1.96:1 Fails Lc 9.5 Not readable
#5A2A67 text on white 10.70:1 AAA Lc 94.4 Preferred for body text
#5A2A67 text on black 1.96:1 Fails Lc -8.2 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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F1E5F5

    oklch(93.6% 0.025 317.7)

  3. Step 200

    200

    #E7D0ED

    oklch(88.5% 0.046 319.2)

  4. Step 300

    300

    #D8B0E4

    oklch(80.9% 0.084 318.3)

  5. Step 400

    400

    #C484D6

    oklch(70.7% 0.135 318.6)

  6. Step 500

    500

    #B462CB

    oklch(63.1% 0.172 318.5)

  7. Step 600

    600

    #9F45B7

    oklch(55.5% 0.186 318.6)

  8. Step 700

    700

    #88359E

    oklch(49% 0.175 318.5)

  9. Step 800

    800

    #6F2D80

    oklch(42.7% 0.145 318.9)

  10. Step 900

    900 (this color)

    #5A2A67

    oklch(37.7% 0.112 318.7)

  11. Step 950

    950

    #35193C

    oklch(27% 0.072 319.3)

Export this scale for Tailwind in the Tailwind colors tool

#5A2A67 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)#1D3B690.105
Deuteranopia (no green cones)#2D40650.093
Tritanopia (no blue cones)#5A33440.071
Achromatopsia (no color)#3E3E3E0.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A2A67

    #5A2A67

    oklch(37.7% 0.112 318.7)

  • #1D4F07

    #1D4F07

    oklch(37.9% 0.112 138.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A2A67

    #5A2A67

    oklch(37.7% 0.112 318.7)

  • #413479

    #413479

    oklch(37.7% 0.113 288.4)

  • #6A234B

    #6A234B

    oklch(37.7% 0.111 348.9)

Open the analogous palette in the generator

Split complementary

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

  • #5A2A67

    #5A2A67

    oklch(37.7% 0.112 318.7)

  • #464500

    #464500

    oklch(37.9% 0.082 108.8)

  • #004E3A

    #004E3A

    oklch(37.7% 0.076 168.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A2A67

    #5A2A67

    oklch(37.7% 0.112 318.7)

  • #583C00

    #583C00

    oklch(37.8% 0.079 79.1)

  • #004C4E

    #004C4E

    oklch(37.8% 0.064 197.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A2A67

    #5A2A67

    oklch(37.7% 0.112 318.7)

  • #6B2D00

    #6B2D00

    oklch(37.8% 0.102 48.7)

  • #1D4F07

    #1D4F07

    oklch(37.9% 0.112 138.6)

  • #004961

    #004961

    oklch(37.9% 0.074 228.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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