#56318A

Closest named color: Dark Slate Blue (#483D8B). oklch(40.7% 0.142 299.1), rgb(86, 49, 138).

Aa

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

About this color

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

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

Values

HEX#56318A
RGBrgb(86, 49, 138)
HSLhsl(265, 48%, 37%)
OKLCHoklch(40.7% 0.142 299.1)

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 #56318A 9.53:1 AAA Lc -95.9 Preferred for body text
Black text on #56318A 2.20:1 Fails Lc 12.3 Not readable
#56318A text on white 9.53:1 AAA Lc 91.6 Preferred for body text
#56318A text on black 2.20:1 Fails Lc -10.7 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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #ECE7F8

    oklch(93.7% 0.023 299.4)

  3. Step 200

    200

    #DDD3F4

    oklch(88.5% 0.046 299.3)

  4. Step 300

    300

    #C8B5EF

    oklch(80.9% 0.083 299.6)

  5. Step 400

    400

    #AC8DE7

    oklch(70.7% 0.132 298.9)

  6. Step 500

    500

    #996DE0

    oklch(63.1% 0.17 299.1)

  7. Step 600

    600

    #8452CE

    oklch(55.6% 0.184 298.8)

  8. Step 700

    700

    #7041B2

    oklch(49% 0.172 299.1)

  9. Step 800

    800 (this color)

    #56318A

    oklch(40.7% 0.142 299.1)

  10. Step 900

    900

    #4B3173

    oklch(37.8% 0.11 299.3)

  11. Step 950

    950

    #2C1D43

    oklch(27% 0.07 300)

Export this scale for Tailwind in the Tailwind colors tool

#56318A 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)#00458D0.103
Deuteranopia (no green cones)#0945880.101
Tritanopia (no blue cones)#4A45590.108
Achromatopsia (no color)#4545450.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #56318A

    #56318A

    oklch(40.7% 0.142 299.1)

  • #445000

    #445000

    oklch(40.6% 0.096 119.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #56318A

    #56318A

    oklch(40.7% 0.142 299.1)

  • #2C4095

    #2C4095

    oklch(40.8% 0.141 269.2)

  • #71246E

    #71246E

    oklch(40.8% 0.142 329.4)

Open the analogous palette in the generator

Split complementary

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

  • #56318A

    #56318A

    oklch(40.7% 0.142 299.1)

  • #5C4700

    #5C4700

    oklch(40.9% 0.084 89.3)

  • #005A23

    #005A23

    oklch(40.8% 0.115 149)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #56318A

    #56318A

    oklch(40.7% 0.142 299.1)

  • #6F3A00

    #6F3A00

    oklch(40.7% 0.097 58.7)

  • #00564A

    #00564A

    oklch(40.6% 0.074 179.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #56318A

    #56318A

    oklch(40.7% 0.142 299.1)

  • #861C15

    #861C15

    oklch(40.7% 0.142 28.9)

  • #445000

    #445000

    oklch(40.6% 0.096 119.1)

  • #00545E

    #00545E

    oklch(40.8% 0.07 208.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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