#471740#471740

#471740 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.7% C 0.093 H 333.8°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#471740
RGBrgb(71, 23, 64)
HSLhsl(309, 51%, 18%)
HSVhsv(309, 68%, 28%)
CMYKcmyk(0%, 67.6%, 9.9%, 72.2%)
CIE-LABlab(17.10, 28.76, -15.01)
CIE-LCHlch(17.10, 32.44, 332.44°)
OKLaboklab(29.73% 0.0831 -0.0409)
OKLCHoklch(29.73% 0.093 333.8)
XYZxyz(3.8304, 2.3228, 5.0961)
Luminance0.0232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471740 #17471E
analogous
#361747 #471740 #471728
triadic
#471740 #404717 #174047
tetradic
#471740 #473617 #17471E #172847
square
#471740 #473617 #17471E #172847
split-complementary
#471740 #284717 #174736
monochromatic
#170715 #190816 #471740 #75266A #A33593

Accessibility & contrast

On white

14.34
#471740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#471740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471740
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471740#FFFFFF#000000##FFFFFF
##4717401.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162641
Deuteranopia (green-blind)
#252D3F
Tritanopia (blue-blind)
#4A1A29
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #471740;
/* rgb */ color: rgb(71, 23, 64);
/* oklch */ color: oklch(29.7% 0.093 333.8);
Tailwind
colors: {
  custom: {
    50: '#7c5875',
    500: '#471740',
    950: '#000000',
  },
}
SCSS
$custom: #471740;
$custom-light: #7c5875;
$custom-dark: #000000;
JSON
{
  "hex": "#471740",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 64
  },
  "hsl": {
    "h": 308.75,
    "s": 51.064,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29734,
    "c": 0.09259,
    "h": 333.8
  },
  "luminance": 0.02323
}

Semantic roles & 50–950 ramp

primary
#471740
secondary
#3C7E45
accent
#DB624D
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #471740

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

Preview Lab → · Contrast checker → · Palette generator →

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