#470F40#470F40

#470F40 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.8% C 0.105 H 333.5°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#470F40
RGBrgb(71, 15, 64)
HSLhsl(308, 65%, 17%)
HSVhsv(308, 79%, 28%)
CMYKcmyk(0%, 78.9%, 9.9%, 72.2%)
CIE-LABlab(15.76, 32.50, -17.11)
CIE-LCHlch(15.76, 36.73, 332.23°)
OKLaboklab(28.76% 0.094 -0.0469)
OKLCHoklch(28.76% 0.105 333.5)
XYZxyz(3.6948, 2.0517, 5.0509)
Luminance0.0205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470F40 #0F4716
analogous
#320F47 #470F40 #470F24
triadic
#470F40 #40470F #0F4047
tetradic
#470F40 #47320F #0F4716 #0F2447
square
#470F40 #47320F #0F4716 #0F2447
split-complementary
#470F40 #24470F #0F4732
monochromatic
#190517 #190517 #470F40 #7A1A6E #AC249B

Accessibility & contrast

On white

14.89
#470F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#470F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470F40
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470F40#FFFFFF#000000##FFFFFF
##470F401.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2241
Deuteranopia (green-blind)
#212A3F
Tritanopia (blue-blind)
#4B1426
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #470f40;
/* rgb */ color: rgb(71, 15, 64);
/* oklch */ color: oklch(28.8% 0.105 333.5);
Tailwind
colors: {
  custom: {
    50: '#7d5475',
    500: '#470f40',
    950: '#000000',
  },
}
SCSS
$custom: #470f40;
$custom-light: #7d5475;
$custom-dark: #000000;
JSON
{
  "hex": "#470f40",
  "rgb": {
    "r": 71,
    "g": 15,
    "b": 64
  },
  "hsl": {
    "h": 307.5,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2876,
    "c": 0.10501,
    "h": 333.5
  },
  "luminance": 0.02051
}

Semantic roles & 50–950 ramp

primary
#470F40
secondary
#30813B
accent
#E85540
background
#F7F5F7
surface
#EEE8ED
border
#C9C4C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #470F40

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

Preview Lab → · Contrast checker → · Palette generator →

#470F40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva