#471147#471147

#471147 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.4% C 0.109 H 327.9°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#471147
RGBrgb(71, 17, 71)
HSLhsl(300, 61%, 17%)
HSVhsv(300, 76%, 28%)
CMYKcmyk(0%, 76.1%, 0%, 72.2%)
CIE-LABlab(16.48, 32.98, -20.84)
CIE-LCHlch(16.48, 39.01, 327.71°)
OKLaboklab(29.42% 0.092 -0.0577)
OKLCHoklch(29.42% 0.109 327.9)
XYZxyz(3.9363, 2.1957, 6.1765)
Luminance0.0220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471147 #114711
analogous
#2C1147 #471147 #47112C
triadic
#471147 #474711 #114747
tetradic
#471147 #472C11 #114711 #112C47
square
#471147 #472C11 #114711 #112C47
split-complementary
#471147 #2C4711 #11472C
monochromatic
#190619 #190619 #471147 #781D78 #AA29AA

Accessibility & contrast

On white

14.59
#471147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#471147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471147
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471147#FFFFFF#000000##FFFFFF
##4711471.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092449
Deuteranopia (green-blind)
#1F2B46
Tritanopia (blue-blind)
#49192A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #471147;
/* rgb */ color: rgb(71, 17, 71);
/* oklch */ color: oklch(29.4% 0.109 327.9);
Tailwind
colors: {
  custom: {
    50: '#7d557a',
    500: '#471147',
    950: '#000000',
  },
}
SCSS
$custom: #471147;
$custom-light: #7d557a;
$custom-dark: #000000;
JSON
{
  "hex": "#471147",
  "rgb": {
    "r": 71,
    "g": 17,
    "b": 71
  },
  "hsl": {
    "h": 300,
    "s": 61.364,
    "l": 17.255
  },
  "oklch": {
    "l": 0.29421,
    "c": 0.10855,
    "h": 327.9
  },
  "luminance": 0.02195
}

Semantic roles & 50–950 ramp

primary
#471147
secondary
#338133
accent
#E44343
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #471147

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

Preview Lab → · Contrast checker → · Palette generator →

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