#470B40#470B40

#470B40 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.4% C 0.110 H 333.4°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#470B40
RGBrgb(71, 11, 64)
HSLhsl(307, 73%, 16%)
HSVhsv(307, 85%, 28%)
CMYKcmyk(0%, 84.5%, 9.9%, 72.2%)
CIE-LABlab(15.22, 34.02, -17.95)
CIE-LCHlch(15.22, 38.47, 332.18°)
OKLaboklab(28.37% 0.0985 -0.0493)
OKLCHoklch(28.37% 0.11 333.4)
XYZxyz(3.6436, 1.9494, 5.0339)
Luminance0.0195 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470B40 #0B4712
analogous
#300B47 #470B40 #470B22
triadic
#470B40 #40470B #0B4047
tetradic
#470B40 #47300B #0B4712 #0B2247
square
#470B40 #47300B #0B4712 #0B2247
split-complementary
#470B40 #22470B #0B4730
monochromatic
#1A0418 #1A0418 #470B40 #7C1370 #B11BA0

Accessibility & contrast

On white

15.11
#470B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#470B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470B40
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470B40#FFFFFF#000000##FFFFFF
##470B401.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092141
Deuteranopia (green-blind)
#20293F
Tritanopia (blue-blind)
#4B1125
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #470b40;
/* rgb */ color: rgb(71, 11, 64);
/* oklch */ color: oklch(28.4% 0.110 333.4);
Tailwind
colors: {
  custom: {
    50: '#7d5275',
    500: '#470b40',
    950: '#000000',
  },
}
SCSS
$custom: #470b40;
$custom-light: #7d5275;
$custom-dark: #000000;
JSON
{
  "hex": "#470b40",
  "rgb": {
    "r": 71,
    "g": 11,
    "b": 64
  },
  "hsl": {
    "h": 307,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.28373,
    "c": 0.11009,
    "h": 333.4
  },
  "luminance": 0.01949
}

Semantic roles & 50–950 ramp

primary
#470B40
secondary
#2A8335
accent
#F04D38
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0208
muted
#7C787B

Preview Lab

Preview with #470B40

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

Preview Lab → · Contrast checker → · Palette generator →

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