#47104B#47104B

#47104B is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.6% C 0.114 H 325.0°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#47104B
RGBrgb(71, 16, 75)
HSLhsl(296, 65%, 18%)
HSVhsv(296, 79%, 29%)
CMYKcmyk(5.3%, 78.7%, 0%, 70.6%)
CIE-LABlab(16.59, 34.20, -23.42)
CIE-LCHlch(16.59, 41.45, 325.59°)
OKLaboklab(29.59% 0.0932 -0.0652)
OKLCHoklch(29.59% 0.114 325)
XYZxyz(4.0537, 2.2184, 6.8699)
Luminance0.0222 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47104B #144B10
analogous
#29104B #47104B #4B1031
triadic
#47104B #4B4710 #104B47
tetradic
#47104B #4B2910 #144B10 #10314B
square
#47104B #4B2910 #144B10 #10314B
split-complementary
#47104B #314B10 #104B29
monochromatic
#180519 #180519 #47104B #771B7D #A626B0

Accessibility & contrast

On white

14.55
#47104B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#47104B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47104B
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47104B#FFFFFF#000000##FFFFFF
##47104B1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02254D
Deuteranopia (green-blind)
#1C2B4A
Tritanopia (blue-blind)
#491A2C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #47104b;
/* rgb */ color: rgb(71, 16, 75);
/* oklch */ color: oklch(29.6% 0.114 325.0);
Tailwind
colors: {
  custom: {
    50: '#7d557d',
    500: '#47104b',
    950: '#000000',
  },
}
SCSS
$custom: #47104b;
$custom-light: #7d557d;
$custom-dark: #000000;
JSON
{
  "hex": "#47104b",
  "rgb": {
    "r": 71,
    "g": 16,
    "b": 75
  },
  "hsl": {
    "h": 295.932,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29586,
    "c": 0.11368,
    "h": 325
  },
  "luminance": 0.02218
}

Semantic roles & 50–950 ramp

primary
#47104B
secondary
#388532
accent
#E8404B
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #47104B

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

Preview Lab → · Contrast checker → · Palette generator →

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