#56339C

Closest named color: Rebecca Purple (#663399). oklch(42.5% 0.162 293.7), rgb(86, 51, 156).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (42%)
Chromavivid (0.162)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.34:1
White text8.93:1

Values

HEX#56339C
RGBrgb(86, 51, 156)
HSLhsl(260, 51%, 41%)
OKLCHoklch(42.5% 0.162 293.7)

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 #56339C 8.93:1 AAA Lc -94.4 Preferred for body text
Black text on #56339C 2.34:1 Fails Lc 14.0 Not readable
#56339C text on white 8.93:1 AAA Lc 90.0 Fine for body text
#56339C text on black 2.34:1 Fails Lc -12.3 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

    #EAE7FB

    oklch(93.6% 0.027 292.8)

  3. Step 200

    200

    #DAD3F9

    oklch(88.4% 0.052 293.7)

  4. Step 300

    300

    #C3B5F8

    oklch(80.8% 0.094 293.8)

  5. Step 400

    400

    #A68CF5

    oklch(70.7% 0.151 293.6)

  6. Step 500

    500

    #926BF1

    oklch(63.1% 0.193 293.5)

  7. Step 600

    600

    #7E4EDF

    oklch(55.6% 0.209 293.7)

  8. Step 700

    700

    #6B3DC2

    oklch(49.1% 0.196 293.8)

  9. Step 800

    800 (this color)

    #56339C

    oklch(42.5% 0.162 293.7)

  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

#56339C 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)#004B9F0.099
Deuteranopia (no green cones)#00489A0.098
Tritanopia (no blue cones)#424C630.127
Achromatopsia (no color)#4949490.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #56339C

    #56339C

    oklch(42.5% 0.162 293.7)

  • #4E5300

    #4E5300

    oklch(42.3% 0.095 113.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #56339C

    #56339C

    oklch(42.5% 0.162 293.7)

  • #1D45A5

    #1D45A5

    oklch(42.5% 0.162 263.7)

  • #76237F

    #76237F

    oklch(42.5% 0.161 323.7)

Open the analogous palette in the generator

Split complementary

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

  • #56339C

    #56339C

    oklch(42.5% 0.162 293.7)

  • #654900

    #654900

    oklch(42.4% 0.087 83.3)

  • #00600C

    #00600C

    oklch(42.4% 0.139 143.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #56339C

    #56339C

    oklch(42.5% 0.162 293.7)

  • #7A3A00

    #7A3A00

    oklch(42.5% 0.108 53.2)

  • #005C4B

    #005C4B

    oklch(42.4% 0.08 174.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #56339C

    #56339C

    oklch(42.5% 0.162 293.7)

  • #93101E

    #93101E

    oklch(42.5% 0.162 23.6)

  • #4E5300

    #4E5300

    oklch(42.3% 0.095 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 #56339C, closest first.

Similar named colors

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

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