#57226B

Closest named color: Grape Purple (#5D1451). oklch(36.4% 0.128 315.4), rgb(87, 34, 107).

Aa

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

About this color

#57226B is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.128 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.050 away. White text reads best on it, at 11.37:1.

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.128)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.84:1
White text11.37:1

Values

HEX#57226B
RGBrgb(87, 34, 107)
HSLhsl(284, 52%, 28%)
OKLCHoklch(36.4% 0.128 315.4)

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 #57226B 11.37:1 AAA Lc -99.4 Preferred for body text
Black text on #57226B 1.84:1 Fails Lc 8.3 Not readable
#57226B text on white 11.37:1 AAA Lc 95.6 Preferred for body text
#57226B text on black 1.84: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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F1E5F7

    oklch(93.7% 0.027 314.7)

  3. Step 200

    200

    #E7CFF2

    oklch(88.5% 0.054 315.3)

  4. Step 300

    300

    #D9AEEB

    oklch(80.9% 0.096 315.8)

  5. Step 400

    400

    #C580E1

    oklch(70.7% 0.154 315.6)

  6. Step 500

    500

    #B55BD9

    oklch(63% 0.197 315.2)

  7. Step 600

    600

    #A13BC6

    oklch(55.6% 0.214 315.5)

  8. Step 700

    700

    #8A2CAB

    oklch(49.2% 0.199 315.6)

  9. Step 800

    800

    #70268A

    oklch(42.7% 0.165 315.8)

  10. Step 900

    900 (this color)

    #57226B

    oklch(36.4% 0.128 315.4)

  11. Step 950

    950

    #351741

    oklch(27% 0.082 315.3)

Export this scale for Tailwind in the Tailwind colors tool

#57226B 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)#04376D0.123
Deuteranopia (no green cones)#213B690.105
Tritanopia (no blue cones)#5630430.084
Achromatopsia (no color)#3A3A3A0.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #57226B

    #57226B

    oklch(36.4% 0.128 315.4)

  • #224A00

    #224A00

    oklch(36.5% 0.107 135.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #57226B

    #57226B

    oklch(36.4% 0.128 315.4)

  • #3B2E7D

    #3B2E7D

    oklch(36.4% 0.128 285.6)

  • #69174D

    #69174D

    oklch(36.3% 0.129 345.1)

Open the analogous palette in the generator

Split complementary

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

  • #57226B

    #57226B

    oklch(36.4% 0.128 315.4)

  • #444000

    #444000

    oklch(36.4% 0.077 105.6)

  • #004B34

    #004B34

    oklch(36.6% 0.077 164.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #57226B

    #57226B

    oklch(36.4% 0.128 315.4)

  • #553700

    #553700

    oklch(36.3% 0.077 75.1)

  • #004849

    #004849

    oklch(36.4% 0.062 196.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #57226B

    #57226B

    oklch(36.4% 0.128 315.4)

  • #682800

    #682800

    oklch(36.5% 0.103 45.8)

  • #224A00

    #224A00

    oklch(36.5% 0.107 135.3)

  • #00455A

    #00455A

    oklch(36.4% 0.07 226.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #57226B 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.