#470347#470347

#470347 is a dark, vivid purple. Relative luminance 0.019; OKLCH L 28.2% C 0.125 H 328.3°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#470347
RGBrgb(71, 3, 71)
HSLhsl(300, 92%, 15%)
HSVhsv(300, 96%, 28%)
CMYKcmyk(0%, 95.8%, 0%, 72.2%)
CIE-LABlab(14.73, 38.02, -23.62)
CIE-LCHlch(14.73, 44.76, 328.14°)
OKLaboklab(28.18% 0.1062 -0.0656)
OKLCHoklch(28.18% 0.125 328.3)
XYZxyz(3.7684, 1.8599, 6.1205)
Luminance0.0186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470347 #034703
analogous
#250347 #470347 #470325
triadic
#470347 #474703 #034747
tetradic
#470347 #472503 #034703 #032547
square
#470347 #472503 #034703 #032547
split-complementary
#470347 #254703 #034725
monochromatic
#1D011D #1D011D #470347 #820582 #BC08BC

Accessibility & contrast

On white

15.31
#470347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#470347 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470347
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470347#FFFFFF#000000##FFFFFF
##4703471.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002049
Deuteranopia (green-blind)
#192845
Tritanopia (blue-blind)
#4A1027
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #470347;
/* rgb */ color: rgb(71, 3, 71);
/* oklch */ color: oklch(28.2% 0.125 328.3);
Tailwind
colors: {
  custom: {
    50: '#7d4f7a',
    500: '#470347',
    950: '#000000',
  },
}
SCSS
$custom: #470347;
$custom-light: #7d4f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#470347",
  "rgb": {
    "r": 71,
    "g": 3,
    "b": 71
  },
  "hsl": {
    "h": 300,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.28177,
    "c": 0.12487,
    "h": 328.3
  },
  "luminance": 0.0186
}

Semantic roles & 50–950 ramp

primary
#470347
secondary
#1E881E
accent
#FF2929
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0209
muted
#7C787B

Preview Lab

Preview with #470347

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

Preview Lab → · Contrast checker → · Palette generator →

#470347 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva