#47108D#47108D

#47108D is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.4% C 0.180 H 294.6°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#47108D
RGBrgb(71, 16, 141)
HSLhsl(266, 80%, 31%)
HSVhsv(266, 89%, 55%)
CMYKcmyk(49.6%, 88.7%, 0%, 44.7%)
CIE-LABlab(22.42, 49.72, -57.03)
CIE-LCHlch(22.42, 75.66, 311.08°)
OKLaboklab(35.44% 0.0751 -0.1637)
OKLCHoklch(35.44% 0.18 294.6)
XYZxyz(7.5902, 3.6330, 25.4955)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47108D #568D10
analogous
#10178D #47108D #85108D
triadic
#47108D #8D4710 #108D47
tetradic
#47108D #8D1017 #568D10 #108D85
square
#47108D #8D1017 #568D10 #108D85
split-complementary
#47108D #8D8510 #178D10
monochromatic
#10041F #2B0A56 #47108D #6316C4 #8130E7

Accessibility & contrast

On white

12.16
#47108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#47108D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47108D
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47108D#FFFFFF#000000##FFFFFF
##47108D1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003790
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#313852
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #47108d;
/* rgb */ color: rgb(71, 16, 141);
/* oklch */ color: oklch(35.4% 0.180 294.6);
Tailwind
colors: {
  custom: {
    50: '#8359af',
    500: '#47108d',
    950: '#000000',
  },
}
SCSS
$custom: #47108d;
$custom-light: #8359af;
$custom-dark: #000000;
JSON
{
  "hex": "#47108d",
  "rgb": {
    "r": 71,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 266.4,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35443,
    "c": 0.18011,
    "h": 294.6
  },
  "luminance": 0.03633
}

Semantic roles & 50–950 ramp

primary
#47108D
secondary
#85C237
accent
#F632A0
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0C0411
muted
#7D7980

Preview Lab

Preview with #47108D

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

Preview Lab → · Contrast checker → · Palette generator →

#47108D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva