#54274C

Closest named color: Grape Purple (#5D1451). oklch(34.9% 0.085 334.3), rgb(84, 39, 76).

Aa

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

About this color

#54274C is a dark, moderately saturated purple. In OKLCH its lightness is 35%, its chroma 0.085 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.042 away. White text reads best on it, at 11.85:1.

Hue familyPurples
Lightnessdark (35%)
Chromamoderately saturated (0.085)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.77:1
White text11.85:1

Values

HEX#54274C
RGBrgb(84, 39, 76)
HSLhsl(311, 37%, 24%)
OKLCHoklch(34.9% 0.085 334.3)

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 #54274C 11.85:1 AAA Lc -100.5 Preferred for body text
Black text on #54274C 1.77:1 Fails Lc 0.0 Not readable
#54274C text on white 11.85:1 AAA Lc 96.9 Preferred for body text
#54274C text on black 1.77: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

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F2E5EF

    oklch(93.5% 0.019 333.5)

  3. Step 200

    200

    #E9D1E3

    oklch(88.6% 0.036 334.5)

  4. Step 300

    300

    #DBB2D2

    oklch(81% 0.064 333.9)

  5. Step 400

    400

    #C888BB

    oklch(70.7% 0.103 334.2)

  6. Step 500

    500

    #B869A9

    oklch(63.1% 0.13 334.4)

  7. Step 600

    600

    #A34F95

    oklch(55.6% 0.142 334)

  8. Step 700

    700

    #8C3F7F

    oklch(49.1% 0.133 334.3)

  9. Step 800

    800

    #723567

    oklch(42.8% 0.109 334.6)

  10. Step 900

    900 (this color)

    #54274C

    oklch(34.9% 0.085 334.3)

  11. Step 950

    950

    #361C31

    oklch(27.1% 0.053 334.4)

Export this scale for Tailwind in the Tailwind colors tool

#54274C 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)#27334D0.086
Deuteranopia (no green cones)#333A4B0.078
Tritanopia (no blue cones)#5829360.042
Achromatopsia (no color)#3737370.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #54274C

    #54274C

    oklch(34.9% 0.085 334.3)

  • #034725

    #034725

    oklch(35% 0.086 154.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #54274C

    #54274C

    oklch(34.9% 0.085 334.3)

  • #442D5E

    #442D5E

    oklch(34.8% 0.086 304)

  • #5D2435

    #5D2435

    oklch(34.9% 0.085 3.9)

Open the analogous palette in the generator

Split complementary

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

  • #54274C

    #54274C

    oklch(34.9% 0.085 334.3)

  • #314102

    #314102

    oklch(34.9% 0.085 124.1)

  • #00443E

    #00443E

    oklch(34.8% 0.061 185)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #54274C

    #54274C

    oklch(34.9% 0.085 334.3)

  • #463900

    #463900

    oklch(34.8% 0.071 94.6)

  • #00424E

    #00424E

    oklch(34.9% 0.062 214.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #54274C

    #54274C

    oklch(34.9% 0.085 334.3)

  • #563000

    #563000

    oklch(35% 0.079 64.5)

  • #034725

    #034725

    oklch(35% 0.086 154.3)

  • #023D63

    #023D63

    oklch(34.8% 0.086 244.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #54274C 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.