Browse colors
#40006A
Nearest named color

Royal Purple

#40006A has no name of its own. This is the closest color that does — visibly distinct if compared directly.

Hex
#40006A
RGB
64, 0, 106
CIELAB
18.5, 47.4, -43.8
Source
xkcd Color Survey
Licence
CC0
Palettes

Color schemes with Royal Purple

Built by rotating the hue in OKLCH, so every colour keeps the same lightness instead of drifting the way an HSL rotation does. Each one is named and clickable.

Complementary

The colour directly opposite. Maximum contrast — good for a single accent against a dominant colour.

Analogous

Neighbours on either side. Calm and cohesive, because nothing fights for attention.

Triadic

Three colours evenly spaced around the wheel. Vivid but balanced.

Split complementary

The two colours either side of the opposite. Nearly the contrast of a complementary pair, with less tension.

Tetradic

Two complementary pairs. The richest scheme, and the easiest to overdo — let one colour lead.

Monochromatic

One hue at several lightnesses. Reliable for interfaces, where hue changes read as meaning.

Variations

Shades, tints and tones

Formats

#40006A in every format

HEX
#40006A
RGB
rgb(64, 0, 106)
HSL
hsl(276, 100%, 21%)
CMYK
40, 100, 0, 58
CIELAB
18.5, 47.4, -43.8
OKLCH
0.299 0.156 304.3
Accessibility

Text on this color

White text reads best, at 14.7:1.

Sample text

14.73:1

Sample text

1.43:1

  • WCAG AA, normal text (4.5:1)passes
  • WCAG AA, large text (3:1)passes
  • WCAG AAA, normal text (7:1)passes