#47104C#47104C

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

Color values

HEX#47104C
RGBrgb(71, 16, 76)
HSLhsl(295, 65%, 18%)
HSVhsv(295, 79%, 30%)
CMYKcmyk(6.6%, 78.9%, 0%, 70.2%)
CIE-LABlab(16.66, 34.40, -24.00)
CIE-LCHlch(16.66, 41.95, 325.10°)
OKLaboklab(29.65% 0.0931 -0.0669)
OKLCHoklch(29.65% 0.115 324.3)
XYZxyz(4.0882, 2.2322, 7.0516)
Luminance0.0223 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47104C #154C10
analogous
#29104C #47104C #4C1033
triadic
#47104C #4C4710 #104C47
tetradic
#47104C #4C2910 #154C10 #10334C
square
#47104C #4C2910 #154C10 #10334C
split-complementary
#47104C #334C10 #104C29
monochromatic
#180519 #180519 #47104C #761B7F #A525B1

Accessibility & contrast

On white

14.52
#47104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47104C
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47104C#FFFFFF#000000##FFFFFF
##47104C1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01254E
Deuteranopia (green-blind)
#1B2B4B
Tritanopia (blue-blind)
#491A2D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #47104c;
/* rgb */ color: rgb(71, 16, 76);
/* oklch */ color: oklch(29.7% 0.115 324.3);
Tailwind
colors: {
  custom: {
    50: '#7d557e',
    500: '#47104c',
    950: '#000000',
  },
}
SCSS
$custom: #47104c;
$custom-light: #7d557e;
$custom-dark: #000000;
JSON
{
  "hex": "#47104c",
  "rgb": {
    "r": 71,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 295,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29655,
    "c": 0.11463,
    "h": 324.3
  },
  "luminance": 0.02232
}

Semantic roles & 50–950 ramp

primary
#47104C
secondary
#398632
accent
#E8404E
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #47104C

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

Preview Lab → · Contrast checker → · Palette generator →

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