#470A42#470A42

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

Color values

HEX#470A42
RGBrgb(71, 10, 66)
HSLhsl(305, 75%, 16%)
HSVhsv(305, 86%, 28%)
CMYKcmyk(0%, 85.9%, 7%, 72.2%)
CIE-LABlab(15.22, 34.72, -19.35)
CIE-LCHlch(15.22, 39.75, 330.87°)
OKLaboklab(28.42% 0.0995 -0.0533)
OKLCHoklch(28.42% 0.113 331.8)
XYZxyz(3.6905, 1.9503, 5.3353)
Luminance0.0195 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470A42 #0A470F
analogous
#2D0A47 #470A42 #470A23
triadic
#470A42 #42470A #0A4247
tetradic
#470A42 #472D0A #0A470F #0A2347
square
#470A42 #472D0A #0A470F #0A2347
split-complementary
#470A42 #23470A #0A472D
monochromatic
#1B0419 #1B0419 #470A42 #7D1274 #B219A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##470A42#FFFFFF#000000##FFFFFF
##470A421.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)
#052143
Deuteranopia (green-blind)
#1E2941
Tritanopia (blue-blind)
#4A1226
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #470a42;
/* rgb */ color: rgb(71, 10, 66);
/* oklch */ color: oklch(28.4% 0.113 331.8);
Tailwind
colors: {
  custom: {
    50: '#7d5276',
    500: '#470a42',
    950: '#000000',
  },
}
SCSS
$custom: #470a42;
$custom-light: #7d5276;
$custom-dark: #000000;
JSON
{
  "hex": "#470a42",
  "rgb": {
    "r": 71,
    "g": 10,
    "b": 66
  },
  "hsl": {
    "h": 304.918,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.28417,
    "c": 0.1129,
    "h": 331.8
  },
  "luminance": 0.0195
}

Semantic roles & 50–950 ramp

primary
#470A42
secondary
#298430
accent
#F24536
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0208
muted
#7C787B

Preview Lab

Preview with #470A42

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

Preview Lab → · Contrast checker → · Palette generator →

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