#54318F

Closest named color: Dark Slate Blue (#483D8B). oklch(40.9% 0.148 296.4), rgb(84, 49, 143).

Aa

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

About this color

#54318F is a dark, vivid purple. In OKLCH its lightness is 41%, its chroma 0.148 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.034 away. White text reads best on it, at 9.48:1.

Hue familyPurples
Lightnessdark (41%)
Chromavivid (0.148)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.21:1
White text9.48:1

Values

HEX#54318F
RGBrgb(84, 49, 143)
HSLhsl(262, 49%, 38%)
OKLCHoklch(40.9% 0.148 296.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 #54318F 9.48:1 AAA Lc -95.8 Preferred for body text
Black text on #54318F 2.21:1 Fails Lc 12.5 Not readable
#54318F text on white 9.48:1 AAA Lc 91.5 Preferred for body text
#54318F text on black 2.21:1 Fails Lc -10.9 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 800.

  1. Step 50

    50

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE7F9

    oklch(93.6% 0.024 296.1)

  3. Step 200

    200

    #DCD3F6

    oklch(88.5% 0.049 297.2)

  4. Step 300

    300

    #C5B6F3

    oklch(81% 0.086 295.7)

  5. Step 400

    400

    #A98DEC

    oklch(70.7% 0.138 296.3)

  6. Step 500

    500

    #956DE6

    oklch(63% 0.177 296.2)

  7. Step 600

    600

    #8151D4

    oklch(55.6% 0.193 296.5)

  8. Step 700

    700

    #6D41B8

    oklch(49.1% 0.179 296.2)

  9. Step 800

    800 (this color)

    #54318F

    oklch(40.9% 0.148 296.4)

  10. Step 900

    900

    #493076

    oklch(37.6% 0.115 297)

  11. Step 950

    950

    #2A1D45

    oklch(26.9% 0.073 296.2)

Export this scale for Tailwind in the Tailwind colors tool

#54318F 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)#0046920.099
Deuteranopia (no green cones)#00448D0.099
Tritanopia (no blue cones)#45475B0.116
Achromatopsia (no color)#4646460.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #54318F

    #54318F

    oklch(40.9% 0.148 296.4)

  • #485000

    #485000

    oklch(41% 0.094 116.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #54318F

    #54318F

    oklch(40.9% 0.148 296.4)

  • #254199

    #254199

    oklch(41% 0.148 266.4)

  • #702373

    #702373

    oklch(40.8% 0.147 326.3)

Open the analogous palette in the generator

Split complementary

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

  • #54318F

    #54318F

    oklch(40.9% 0.148 296.4)

  • #5E4600

    #5E4600

    oklch(40.9% 0.084 86.2)

  • #005B1A

    #005B1A

    oklch(41% 0.124 146.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #54318F

    #54318F

    oklch(40.9% 0.148 296.4)

  • #713900

    #713900

    oklch(40.9% 0.099 56.6)

  • #005749

    #005749

    oklch(40.8% 0.076 176.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #54318F

    #54318F

    oklch(40.9% 0.148 296.4)

  • #891719

    #891719

    oklch(41% 0.149 26.2)

  • #485000

    #485000

    oklch(41% 0.094 116.2)

  • #00555D

    #00555D

    oklch(41% 0.07 205.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #54318F 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.