#471247#471247

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

Color values

HEX#471247
RGBrgb(71, 18, 71)
HSLhsl(300, 60%, 17%)
HSVhsv(300, 75%, 28%)
CMYKcmyk(0%, 74.6%, 0%, 72.2%)
CIE-LABlab(16.64, 32.54, -20.60)
CIE-LCHlch(16.64, 38.51, 327.67°)
OKLaboklab(29.53% 0.0907 -0.057)
OKLCHoklch(29.53% 0.107 327.9)
XYZxyz(3.9521, 2.2274, 6.1818)
Luminance0.0223 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471247 #124712
analogous
#2D1247 #471247 #47122D
triadic
#471247 #474712 #124747
tetradic
#471247 #472D12 #124712 #122D47
square
#471247 #472D12 #124712 #122D47
split-complementary
#471247 #2D4712 #12472D
monochromatic
#180618 #180618 #471247 #781E78 #A92BA9

Accessibility & contrast

On white

14.53
#471247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#471247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471247
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471247#FFFFFF#000000##FFFFFF
##4712471.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2549
Deuteranopia (green-blind)
#1F2C46
Tritanopia (blue-blind)
#49192A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #471247;
/* rgb */ color: rgb(71, 18, 71);
/* oklch */ color: oklch(29.5% 0.107 327.9);
Tailwind
colors: {
  custom: {
    50: '#7c557a',
    500: '#471247',
    950: '#000000',
  },
}
SCSS
$custom: #471247;
$custom-light: #7c557a;
$custom-dark: #000000;
JSON
{
  "hex": "#471247",
  "rgb": {
    "r": 71,
    "g": 18,
    "b": 71
  },
  "hsl": {
    "h": 300,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29533,
    "c": 0.10712,
    "h": 327.9
  },
  "luminance": 0.02227
}

Semantic roles & 50–950 ramp

primary
#471247
secondary
#358035
accent
#E34545
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #471247

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

Preview Lab → · Contrast checker → · Palette generator →

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