#47217A#47217A

#47217A is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.142 H 298.3°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#47217A
RGBrgb(71, 33, 122)
HSLhsl(266, 57%, 30%)
HSVhsv(266, 73%, 48%)
CMYKcmyk(41.8%, 73%, 0%, 52.2%)
CIE-LABlab(23.11, 37.50, -43.93)
CIE-LCHlch(23.11, 57.76, 310.48°)
OKLaboklab(35.38% 0.0675 -0.1255)
OKLCHoklch(35.38% 0.142 298.3)
XYZxyz(6.6543, 3.8323, 18.7977)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47217A #547A21
analogous
#21277A #47217A #73217A
triadic
#47217A #7A4721 #217A47
tetradic
#47217A #7A2127 #547A21 #217A73
square
#47217A #7A2127 #547A21 #217A73
split-complementary
#47217A #7A7321 #277A21
monochromatic
#0F071A #2B144A #47217A #632EAA #8148CD

Accessibility & contrast

On white

11.89
#47217A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#47217A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47217A
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47217A#FFFFFF#000000##FFFFFF
##47217A1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377D
Deuteranopia (green-blind)
#003678
Tritanopia (blue-blind)
#3B374B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #47217a;
/* rgb */ color: rgb(71, 33, 122);
/* oklch */ color: oklch(35.4% 0.142 298.3);
Tailwind
colors: {
  custom: {
    50: '#7f60a1',
    500: '#47217a',
    950: '#000000',
  },
}
SCSS
$custom: #47217a;
$custom-light: #7f60a1;
$custom-dark: #000000;
JSON
{
  "hex": "#47217a",
  "rgb": {
    "r": 71,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 265.618,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35376,
    "c": 0.14244,
    "h": 298.3
  },
  "luminance": 0.03832
}

Semantic roles & 50–950 ramp

primary
#47217A
secondary
#83AD4A
accent
#E1479F
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #47217A

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

Preview Lab → · Contrast checker → · Palette generator →

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