#56339D

Closest named color: Rebecca Purple (#663399). oklch(42.5% 0.163 293.4), rgb(86, 51, 157).

Aa

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

About this color

#56339D is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.163 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.032 away. White text reads best on it, at 8.91:1.

Hue familyPurples
Lightnessdark (43%)
Chromavivid (0.163)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.35:1
White text8.91:1

Values

HEX#56339D
RGBrgb(86, 51, 157)
HSLhsl(260, 51%, 41%)
OKLCHoklch(42.5% 0.163 293.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 #56339D 8.91:1 AAA Lc -94.4 Preferred for body text
Black text on #56339D 2.35:1 Fails Lc 14.1 Not readable
#56339D text on white 8.91:1 AAA Lc 89.9 Fine for body text
#56339D text on black 2.35:1 Fails Lc -12.4 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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #EAE7FB

    oklch(93.6% 0.027 292.8)

  3. Step 200

    200

    #DAD3FA

    oklch(88.5% 0.054 293.5)

  4. Step 300

    300

    #C3B5F9

    oklch(80.9% 0.096 293.6)

  5. Step 400

    400

    #A68CF6

    oklch(70.8% 0.152 293.4)

  6. Step 500

    500

    #926BF2

    oklch(63.2% 0.194 293.4)

  7. Step 600

    600

    #7E4DE0

    oklch(55.6% 0.212 293.7)

  8. Step 700

    700

    #6A3DC3

    oklch(49.1% 0.197 293.2)

  9. Step 800

    800 (this color)

    #56339D

    oklch(42.5% 0.163 293.4)

  10. Step 900

    900

    #472F7D

    oklch(37.8% 0.126 293.6)

  11. Step 950

    950

    #291C49

    oklch(26.9% 0.08 293.6)

Export this scale for Tailwind in the Tailwind colors tool

#56339D 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)#004BA00.099
Deuteranopia (no green cones)#00489B0.098
Tritanopia (no blue cones)#424D630.130
Achromatopsia (no color)#4A4A4A0.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #56339D

    #56339D

    oklch(42.5% 0.163 293.4)

  • #4F5400

    #4F5400

    oklch(42.7% 0.096 113.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #56339D

    #56339D

    oklch(42.5% 0.163 293.4)

  • #1B45A6

    #1B45A6

    oklch(42.5% 0.163 263.4)

  • #762280

    #762280

    oklch(42.4% 0.163 323.3)

Open the analogous palette in the generator

Split complementary

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

  • #56339D

    #56339D

    oklch(42.5% 0.163 293.4)

  • #654900

    #654900

    oklch(42.4% 0.087 83.3)

  • #00600A

    #00600A

    oklch(42.4% 0.14 143.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #56339D

    #56339D

    oklch(42.5% 0.163 293.4)

  • #7A3A00

    #7A3A00

    oklch(42.5% 0.108 53.2)

  • #005D4B

    #005D4B

    oklch(42.7% 0.081 173.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #56339D

    #56339D

    oklch(42.5% 0.163 293.4)

  • #930F1E

    #930F1E

    oklch(42.5% 0.162 23.5)

  • #4F5400

    #4F5400

    oklch(42.7% 0.096 113.7)

  • #005A60

    #005A60

    oklch(42.6% 0.073 202.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #56339D 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.