#47217E#47217E

#47217E is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.147 H 296.9°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#47217E
RGBrgb(71, 33, 126)
HSLhsl(265, 58%, 31%)
HSVhsv(265, 74%, 49%)
CMYKcmyk(43.7%, 73.8%, 0%, 50.6%)
CIE-LABlab(23.45, 38.61, -45.92)
CIE-LCHlch(23.45, 59.99, 310.06°)
OKLaboklab(35.73% 0.0667 -0.1313)
OKLCHoklch(35.73% 0.147 296.9)
XYZxyz(6.9073, 3.9335, 20.1299)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47217E #587E21
analogous
#21297E #47217E #75217E
triadic
#47217E #7E4721 #217E47
tetradic
#47217E #7E2129 #587E21 #217E75
square
#47217E #7E2129 #587E21 #217E75
split-complementary
#47217E #7E7521 #297E21
monochromatic
#10081D #2C144E #47217E #622EAE #804AD0

Accessibility & contrast

On white

11.75
#47217E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#47217E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47217E
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47217E#FFFFFF#000000##FFFFFF
##47217E1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#00377C
Tritanopia (blue-blind)
#39384D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #47217e;
/* rgb */ color: rgb(71, 33, 126);
/* oklch */ color: oklch(35.7% 0.147 296.9);
Tailwind
colors: {
  custom: {
    50: '#8060a4',
    500: '#47217e',
    950: '#000000',
  },
}
SCSS
$custom: #47217e;
$custom-light: #8060a4;
$custom-dark: #000000;
JSON
{
  "hex": "#47217e",
  "rgb": {
    "r": 71,
    "g": 33,
    "b": 126
  },
  "hsl": {
    "h": 264.516,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35725,
    "c": 0.14723,
    "h": 296.9
  },
  "luminance": 0.03934
}

Semantic roles & 50–950 ramp

primary
#47217E
secondary
#87B14A
accent
#E246A2
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #47217E

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

Preview Lab → · Contrast checker → · Palette generator →

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