#470A40#470A40

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

Color values

HEX#470A40
RGBrgb(71, 10, 64)
HSLhsl(307, 75%, 16%)
HSVhsv(307, 86%, 28%)
CMYKcmyk(0%, 85.9%, 9.9%, 72.2%)
CIE-LABlab(15.10, 34.37, -18.14)
CIE-LCHlch(15.10, 38.86, 332.17°)
OKLaboklab(28.29% 0.0995 -0.0498)
OKLCHoklch(28.29% 0.111 333.4)
XYZxyz(3.6325, 1.9272, 5.0302)
Luminance0.0193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470A40 #0A4711
analogous
#2F0A47 #470A40 #470A21
triadic
#470A40 #40470A #0A4047
tetradic
#470A40 #472F0A #0A4711 #0A2147
square
#470A40 #472F0A #0A4711 #0A2147
split-complementary
#470A40 #21470A #0A472F
monochromatic
#1B0418 #1B0418 #470A40 #7D1270 #B219A1

Accessibility & contrast

On white

15.16
#470A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #470A40
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470A40#FFFFFF#000000##FFFFFF
##470A401.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082041
Deuteranopia (green-blind)
#1F293F
Tritanopia (blue-blind)
#4B1124
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #470a40;
/* rgb */ color: rgb(71, 10, 64);
/* oklch */ color: oklch(28.3% 0.111 333.4);
Tailwind
colors: {
  custom: {
    50: '#7d5275',
    500: '#470a40',
    950: '#000000',
  },
}
SCSS
$custom: #470a40;
$custom-light: #7d5275;
$custom-dark: #000000;
JSON
{
  "hex": "#470a40",
  "rgb": {
    "r": 71,
    "g": 10,
    "b": 64
  },
  "hsl": {
    "h": 306.885,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.28288,
    "c": 0.11122,
    "h": 333.4
  },
  "luminance": 0.01927
}

Semantic roles & 50–950 ramp

primary
#470A40
secondary
#298433
accent
#F24B36
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0208
muted
#7C787B

Preview Lab

Preview with #470A40

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

Preview Lab → · Contrast checker → · Palette generator →

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