#470840#470840

#470840 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.1% C 0.113 H 333.4°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#470840
RGBrgb(71, 8, 64)
HSLhsl(307, 80%, 15%)
HSVhsv(307, 89%, 28%)
CMYKcmyk(0%, 88.7%, 9.9%, 72.2%)
CIE-LABlab(14.86, 35.05, -18.51)
CIE-LCHlch(14.86, 39.64, 332.15°)
OKLaboklab(28.12% 0.1014 -0.0509)
OKLCHoklch(28.12% 0.113 333.4)
XYZxyz(3.6108, 1.8837, 5.0229)
Luminance0.0188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470840 #08470F
analogous
#2E0847 #470840 #470820
triadic
#470840 #404708 #084047
tetradic
#470840 #472E08 #08470F #082047
square
#470840 #472E08 #08470F #082047
split-complementary
#470840 #204708 #08472E
monochromatic
#1C0319 #1C0319 #470840 #7E0E72 #B514A3

Accessibility & contrast

On white

15.25
#470840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#470840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470840
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470840#FFFFFF#000000##FFFFFF
##4708401.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052041
Deuteranopia (green-blind)
#1F293F
Tritanopia (blue-blind)
#4B0F24
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #470840;
/* rgb */ color: rgb(71, 8, 64);
/* oklch */ color: oklch(28.1% 0.113 333.4);
Tailwind
colors: {
  custom: {
    50: '#7d5175',
    500: '#470840',
    950: '#000000',
  },
}
SCSS
$custom: #470840;
$custom-light: #7d5175;
$custom-dark: #000000;
JSON
{
  "hex": "#470840",
  "rgb": {
    "r": 71,
    "g": 8,
    "b": 64
  },
  "hsl": {
    "h": 306.667,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.2812,
    "c": 0.11348,
    "h": 333.4
  },
  "luminance": 0.01883
}

Semantic roles & 50–950 ramp

primary
#470840
secondary
#268530
accent
#F64732
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0208
muted
#7C787B

Preview Lab

Preview with #470840

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

Preview Lab → · Contrast checker → · Palette generator →

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