#57319B

Closest named color: Rebecca Purple (#663399). oklch(42.2% 0.163 294.9), rgb(87, 49, 155).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (42%)
Chromavivid (0.163)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.31:1
White text9.05:1

Values

HEX#57319B
RGBrgb(87, 49, 155)
HSLhsl(262, 52%, 40%)
OKLCHoklch(42.2% 0.163 294.9)

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 #57319B 9.05:1 AAA Lc -94.7 Preferred for body text
Black text on #57319B 2.31:1 Fails Lc 13.7 Not readable
#57319B text on white 9.05:1 AAA Lc 90.3 Preferred for body text
#57319B text on black 2.31:1 Fails Lc -12.0 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

    #EBE7FB

    oklch(93.7% 0.027 295)

  3. Step 200

    200

    #DBD3F9

    oklch(88.5% 0.052 295)

  4. Step 300

    300

    #C4B5F8

    oklch(80.9% 0.095 294.5)

  5. Step 400

    400

    #A88BF5

    oklch(70.7% 0.153 294.8)

  6. Step 500

    500

    #9569F1

    oklch(63.1% 0.196 295.1)

  7. Step 600

    600

    #804CDF

    oklch(55.6% 0.212 294.8)

  8. Step 700

    700

    #6D3CC2

    oklch(49.2% 0.197 294.9)

  9. Step 800

    800 (this color)

    #57319B

    oklch(42.2% 0.163 294.9)

  10. Step 900

    900

    #482E7C

    oklch(37.6% 0.127 294.9)

  11. Step 950

    950

    #2A1C49

    oklch(27% 0.081 294.8)

Export this scale for Tailwind in the Tailwind colors tool

#57319B 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)#004A9E0.102
Deuteranopia (no green cones)#0047990.102
Tritanopia (no blue cones)#454B620.128
Achromatopsia (no color)#4949490.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #57319B

    #57319B

    oklch(42.2% 0.163 294.9)

  • #4D5300

    #4D5300

    oklch(42.2% 0.095 114.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #57319B

    #57319B

    oklch(42.2% 0.163 294.9)

  • #2043A5

    #2043A5

    oklch(42.2% 0.163 265)

  • #77207D

    #77207D

    oklch(42.2% 0.164 325.2)

Open the analogous palette in the generator

Split complementary

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

  • #57319B

    #57319B

    oklch(42.2% 0.163 294.9)

  • #634900

    #634900

    oklch(42.2% 0.086 85.1)

  • #005F15

    #005F15

    oklch(42.2% 0.133 145)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #57319B

    #57319B

    oklch(42.2% 0.163 294.9)

  • #783B00

    #783B00

    oklch(42.3% 0.105 54.9)

  • #005B4B

    #005B4B

    oklch(42.1% 0.079 175.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #57319B

    #57319B

    oklch(42.2% 0.163 294.9)

  • #920D19

    #920D19

    oklch(42.1% 0.163 24.9)

  • #4D5300

    #4D5300

    oklch(42.2% 0.095 114.5)

  • #005960

    #005960

    oklch(42.3% 0.072 204.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #57319B 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.