Color Companion

The rebeccapurple colour

The one CSS colour added in memory of someone, and everything it converts to.

#663399

A mid-tone, moderately saturated magenta. This is exactly CSS `rebeccapurple`.

Hex
#663399
RGB
rgb(102 51 153)
HSL
hsl(270 50% 40%)
OKLCH
oklch(0.44 0.16 303.4)
CMYK
cmyk(33.33% 66.67% 0% 40%)
Nearest name
rebeccapurple (exact)

Readable text

White text

8.41:1

Black text

2.5:1

Use white text. Passes AA for normal text: yes · AAA: yes · AA for large text: yes

Worth knowing

  • Worth knowing

    7 derived colours are outside sRGB

    Rotating hue at this chroma produces colours a normal screen cannot display, so they have been clipped to the nearest sRGB colour. The hex values shown are therefore not exactly what the maths asked for, and the harmony will look slightly less even than it should.

    Fix: Lower the chroma of the input colour before deriving harmonies, or accept the clipped values as an approximation.

  • Note

    CMYK here is a naive conversion

    CMYK has no fixed meaning without an output profile — the same numbers print differently on different presses and papers. The value shown is the standard arithmetic conversion, not a colour-managed one.

    Fix: For print work, convert in software with the press profile applied.

Complementary — the opposite hue

  • complementary

    #425e00

    clipped to sRGB

Analogous — neighbouring hues

  • analogous −30°

    #3a44a9

  • analogous +30°

    #832477

Triadic — evenly spaced

  • triadic +120°

    #8c3400

    clipped to sRGB

  • triadic +240°

    #006c5c

    clipped to sRGB

Split-complementary — softer opposites

  • split-complementary +150°

    #714c00

    clipped to sRGB

  • split-complementary +210°

    #006921

    clipped to sRGB

Monochromatic — one hue, five lightnesses

  • lightness 0.25

    #34005e

    clipped to sRGB

  • lightness 0.4

    #5b268c

  • lightness 0.55

    #8654bd

  • lightness 0.7

    #b382ef

  • lightness 0.85

    #e4b2ff

    clipped to sRGB

Try your own colour

Paste one on the home page — you can also pick a colour straight out of a photo there. This page is available as markdown.

Related examples