#54347C

Closest named color: Dark Slate Blue (#483D8B). oklch(40% 0.119 301.8), rgb(84, 52, 124).

Aa

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

About this color

#54347C is a dark, moderately saturated purple. In OKLCH its lightness is 40%, its chroma 0.119 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.037 away. White text reads best on it, at 9.72:1.

Hue familyPurples
Lightnessdark (40%)
Chromamoderately saturated (0.119)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.15:1
White text9.72:1

Values

HEX#54347C
RGBrgb(84, 52, 124)
HSLhsl(267, 41%, 35%)
OKLCHoklch(40% 0.119 301.8)

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 #54347C 9.72:1 AAA Lc -96.5 Preferred for body text
Black text on #54347C 2.15:1 Fails Lc 11.7 Not readable
#54347C text on white 9.72:1 AAA Lc 92.2 Preferred for body text
#54347C text on black 2.15:1 Fails Lc -10.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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F9

    oklch(93.6% 0.026 302.6)

  3. Step 200

    200

    #DFD2F5

    oklch(88.5% 0.049 302.3)

  4. Step 300

    300

    #CBB3F1

    oklch(80.8% 0.09 302.2)

  5. Step 400

    400

    #B189EA

    oklch(70.6% 0.143 301.9)

  6. Step 500

    500

    #9F68E4

    oklch(63.1% 0.183 301.9)

  7. Step 600

    600

    #8A4CD1

    oklch(55.6% 0.197 301.7)

  8. Step 700

    700

    #763BB5

    oklch(49.1% 0.185 302.2)

  9. Step 800

    800

    #603293

    oklch(42.7% 0.153 302.1)

  10. Step 900

    900 (this color)

    #54347C

    oklch(40% 0.119 301.8)

  11. Step 950

    950

    #2D1C45

    oklch(27.1% 0.075 300.6)

Export this scale for Tailwind in the Tailwind colors tool

#54347C 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)#17447E0.089
Deuteranopia (no green cones)#22447A0.082
Tritanopia (no blue cones)#4C42520.090
Achromatopsia (no color)#4444440.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #54347C

    #54347C

    oklch(40% 0.119 301.8)

  • #3F4F00

    #3F4F00

    oklch(39.9% 0.097 122)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #54347C

    #54347C

    oklch(40% 0.119 301.8)

  • #324087

    #324087

    oklch(40% 0.119 271.6)

  • #6A2A64

    #6A2A64

    oklch(39.9% 0.119 331.3)

Open the analogous palette in the generator

Split complementary

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

  • #54347C

    #54347C

    oklch(40% 0.119 301.8)

  • #584500

    #584500

    oklch(39.9% 0.082 90.8)

  • #005729

    #005729

    oklch(40% 0.105 151.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #54347C

    #54347C

    oklch(40% 0.119 301.8)

  • #6A3A00

    #6A3A00

    oklch(40% 0.092 61.8)

  • #00544A

    #00544A

    oklch(40% 0.072 181.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #54347C

    #54347C

    oklch(40% 0.119 301.8)

  • #7B271A

    #7B271A

    oklch(39.9% 0.119 31.5)

  • #3F4F00

    #3F4F00

    oklch(39.9% 0.097 122)

  • #00515D

    #00515D

    oklch(39.9% 0.069 211.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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