#47104D#47104D

#47104D is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.7% C 0.116 H 323.6°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#47104D
RGBrgb(71, 16, 77)
HSLhsl(294, 66%, 18%)
HSVhsv(294, 79%, 30%)
CMYKcmyk(7.8%, 79.2%, 0%, 69.8%)
CIE-LABlab(16.73, 34.61, -24.58)
CIE-LCHlch(16.73, 42.45, 324.62°)
OKLaboklab(29.73% 0.0931 -0.0685)
OKLCHoklch(29.73% 0.116 323.6)
XYZxyz(4.1233, 2.2462, 7.2361)
Luminance0.0225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47104D #164D10
analogous
#28104D #47104D #4D1034
triadic
#47104D #4D4710 #104D47
tetradic
#47104D #4D2810 #164D10 #10344D
square
#47104D #4D2810 #164D10 #10344D
split-complementary
#47104D #344D10 #104D28
monochromatic
#170519 #18051A #47104D #761B80 #A425B2

Accessibility & contrast

On white

14.49
#47104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#47104D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47104D
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47104D#FFFFFF#000000##FFFFFF
##47104D1.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00254F
Deuteranopia (green-blind)
#1B2B4C
Tritanopia (blue-blind)
#481B2D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #47104d;
/* rgb */ color: rgb(71, 16, 77);
/* oklch */ color: oklch(29.7% 0.116 323.6);
Tailwind
colors: {
  custom: {
    50: '#7d557f',
    500: '#47104d',
    950: '#000000',
  },
}
SCSS
$custom: #47104d;
$custom-light: #7d557f;
$custom-dark: #000000;
JSON
{
  "hex": "#47104d",
  "rgb": {
    "r": 71,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 294.098,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.29726,
    "c": 0.11558,
    "h": 323.6
  },
  "luminance": 0.02246
}

Semantic roles & 50–950 ramp

primary
#47104D
secondary
#3A8732
accent
#E93F50
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #47104D

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

Preview Lab → · Contrast checker → · Palette generator →

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