#5A1C42

Closest named color: Grape Purple (#5D1451). oklch(33.7% 0.102 346.2), rgb(90, 28, 66).

Aa

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

About this color

#5A1C42 is a dark, moderately saturated red. In OKLCH its lightness is 34%, its chroma 0.102 and its hue 346°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.033 away. White text reads best on it, at 12.50:1.

Hue familyReds
Lightnessdark (34%)
Chromamoderately saturated (0.102)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.67:1
White text12.50:1

Values

HEX#5A1C42
RGBrgb(90, 28, 66)
HSLhsl(323, 53%, 23%)
OKLCHoklch(33.7% 0.102 346.2)

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 #5A1C42 12.50:1 AAA Lc -101.2 Preferred for body text
Black text on #5A1C42 1.67:1 Fails Lc 0.0 Not readable
#5A1C42 text on white 12.50:1 AAA Lc 97.7 Preferred for body text
#5A1C42 text on black 1.67: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

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F6E4ED

    oklch(93.6% 0.023 345.8)

  3. Step 200

    200

    #EFCEDF

    oklch(88.4% 0.043 345.6)

  4. Step 300

    300

    #E6ADCB

    oklch(80.9% 0.077 346.1)

  5. Step 400

    400

    #D780B0

    oklch(70.7% 0.122 346.4)

  6. Step 500

    500

    #CA5D9D

    oklch(63.2% 0.156 346.2)

  7. Step 600

    600

    #B54088

    oklch(55.7% 0.17 346.1)

  8. Step 700

    700

    #9B3173

    oklch(49.1% 0.157 346.1)

  9. Step 800

    800

    #7E2A5E

    oklch(42.7% 0.13 345.9)

  10. Step 900

    900 (this color)

    #5A1C42

    oklch(33.7% 0.102 346.2)

  11. Step 950

    950

    #3C182D

    oklch(27.1% 0.064 346.2)

Export this scale for Tailwind in the Tailwind colors tool

#5A1C42 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)#232D430.111
Deuteranopia (no green cones)#3538410.099
Tritanopia (no blue cones)#601B2C0.041
Achromatopsia (no color)#3434340.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A1C42

    #5A1C42

    oklch(33.7% 0.102 346.2)

  • #00422F

    #00422F

    oklch(33.6% 0.069 166.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A1C42

    #5A1C42

    oklch(33.7% 0.102 346.2)

  • #4B235A

    #4B235A

    oklch(33.7% 0.102 315.9)

  • #611A24

    #611A24

    oklch(33.7% 0.102 16.5)

Open the analogous palette in the generator

Split complementary

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

  • #5A1C42

    #5A1C42

    oklch(33.7% 0.102 346.2)

  • #1B4200

    #1B4200

    oklch(33.7% 0.101 136.4)

  • #004041

    #004041

    oklch(33.7% 0.057 196.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A1C42

    #5A1C42

    oklch(33.7% 0.102 346.2)

  • #3C3900

    #3C3900

    oklch(33.7% 0.072 106.4)

  • #003E51

    #003E51

    oklch(33.9% 0.065 225.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A1C42

    #5A1C42

    oklch(33.7% 0.102 346.2)

  • #4C3100

    #4C3100

    oklch(33.7% 0.071 75.5)

  • #00422F

    #00422F

    oklch(33.6% 0.069 166.6)

  • #0B366A

    #0B366A

    oklch(33.7% 0.102 256)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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