#47216A#47216A

#47216A is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.1% C 0.123 H 304.6°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#47216A
RGBrgb(71, 33, 106)
HSLhsl(271, 53%, 27%)
HSVhsv(271, 69%, 42%)
CMYKcmyk(33%, 68.9%, 0%, 58.4%)
CIE-LABlab(21.83, 33.15, -35.72)
CIE-LCHlch(21.83, 48.74, 312.86°)
OKLaboklab(34.06% 0.0698 -0.1013)
OKLCHoklch(34.06% 0.123 304.6)
XYZxyz(5.7433, 3.4679, 13.9997)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47216A #446A21
analogous
#23216A #47216A #6A2169
triadic
#47216A #6A4721 #216A47
tetradic
#47216A #6A2321 #446A21 #21696A
square
#47216A #6A2321 #446A21 #21696A
split-complementary
#47216A #696A21 #216A23
monochromatic
#100717 #28123B #47216A #663099 #8541C4

Accessibility & contrast

On white

12.40
#47216A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#47216A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47216A
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47216A#FFFFFF#000000##FFFFFF
##47216A1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#0B3468
Tritanopia (blue-blind)
#413142
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #47216a;
/* rgb */ color: rgb(71, 33, 106);
/* oklch */ color: oklch(34.1% 0.123 304.6);
Tailwind
colors: {
  custom: {
    50: '#7d5f95',
    500: '#47216a',
    950: '#000000',
  },
}
SCSS
$custom: #47216a;
$custom-light: #7d5f95;
$custom-dark: #000000;
JSON
{
  "hex": "#47216a",
  "rgb": {
    "r": 71,
    "g": 33,
    "b": 106
  },
  "hsl": {
    "h": 271.233,
    "s": 52.518,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34055,
    "c": 0.12303,
    "h": 304.6
  },
  "luminance": 0.03468
}

Semantic roles & 50–950 ramp

primary
#47216A
secondary
#729E49
accent
#DC4C91
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #47216A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#47216A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva