#54226A

Closest named color: Grape Purple (#5D1451). oklch(36% 0.126 313.9), rgb(84, 34, 106).

Aa

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

About this color

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

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

Values

HEX#54226A
RGBrgb(84, 34, 106)
HSLhsl(282, 51%, 27%)
OKLCHoklch(36% 0.126 313.9)

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 #54226A 11.57:1 AAA Lc -99.8 Preferred for body text
Black text on #54226A 1.81:1 Fails Lc 7.8 Not readable
#54226A text on white 11.57:1 AAA Lc 96.1 Preferred for body text
#54226A text on black 1.81: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

    #E6CFF2

    oklch(88.4% 0.053 314.2)

  4. Step 300

    300

    #D7AFEC

    oklch(81% 0.094 313.8)

  5. Step 400

    400

    #C282E2

    oklch(70.7% 0.15 313.7)

  6. Step 500

    500

    #B25DD9

    oklch(63% 0.193 313.9)

  7. Step 600

    600

    #9E3EC7

    oklch(55.6% 0.211 313.9)

  8. Step 700

    700

    #872FAC

    oklch(49.2% 0.195 313.8)

  9. Step 800

    800

    #6E298B

    oklch(42.8% 0.161 314.1)

  10. Step 900

    900 (this color)

    #54226A

    oklch(36% 0.126 313.9)

  11. Step 950

    950

    #341841

    oklch(27% 0.079 313.9)

Export this scale for Tailwind in the Tailwind colors tool

#54226A 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)#03366C0.118
Deuteranopia (no green cones)#1F3A680.102
Tritanopia (no blue cones)#5230420.085
Achromatopsia (no color)#3939390.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #54226A

    #54226A

    oklch(36% 0.126 313.9)

  • #244800

    #244800

    oklch(36% 0.104 134.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #54226A

    #54226A

    oklch(36% 0.126 313.9)

  • #382E7B

    #382E7B

    oklch(35.9% 0.126 284)

  • #67184D

    #67184D

    oklch(36.1% 0.126 344.1)

Open the analogous palette in the generator

Split complementary

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

  • #54226A

    #54226A

    oklch(36% 0.126 313.9)

  • #443E00

    #443E00

    oklch(35.9% 0.076 103.4)

  • #004932

    #004932

    oklch(35.9% 0.076 164.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #54226A

    #54226A

    oklch(36% 0.126 313.9)

  • #543600

    #543600

    oklch(36% 0.076 74.7)

  • #004746

    #004746

    oklch(36% 0.062 193.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #54226A

    #54226A

    oklch(36% 0.126 313.9)

  • #672500

    #672500

    oklch(35.8% 0.104 43.9)

  • #244800

    #244800

    oklch(36% 0.104 134.1)

  • #004457

    #004457

    oklch(35.9% 0.067 224)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #54226A 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.