#470D4C#470D4C

#470D4C is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.4% C 0.118 H 324.5°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#470D4C
RGBrgb(71, 13, 76)
HSLhsl(295, 71%, 17%)
HSVhsv(295, 83%, 30%)
CMYKcmyk(6.6%, 82.9%, 0%, 70.2%)
CIE-LABlab(16.25, 35.57, -24.66)
CIE-LCHlch(16.25, 43.28, 325.27°)
OKLaboklab(29.36% 0.0963 -0.0687)
OKLCHoklch(29.36% 0.118 324.5)
XYZxyz(4.0469, 2.1495, 7.0378)
Luminance0.0215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470D4C #124C0D
analogous
#270D4C #470D4C #4C0D32
triadic
#470D4C #4C470D #0D4C47
tetradic
#470D4C #4C270D #124C0D #0D324C
square
#470D4C #4C270D #124C0D #0D324C
split-complementary
#470D4C #324C0D #0D4C27
monochromatic
#18041A #18041A #470D4C #781680 #A91FB5

Accessibility & contrast

On white

14.69
#470D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#470D4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470D4C
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470D4C#FFFFFF#000000##FFFFFF
##470D4C1.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244E
Deuteranopia (green-blind)
#1A2B4B
Tritanopia (blue-blind)
#49192C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #470d4c;
/* rgb */ color: rgb(71, 13, 76);
/* oklch */ color: oklch(29.4% 0.118 324.5);
Tailwind
colors: {
  custom: {
    50: '#7d537e',
    500: '#470d4c',
    950: '#000000',
  },
}
SCSS
$custom: #470d4c;
$custom-light: #7d537e;
$custom-dark: #000000;
JSON
{
  "hex": "#470d4c",
  "rgb": {
    "r": 71,
    "g": 13,
    "b": 76
  },
  "hsl": {
    "h": 295.238,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29364,
    "c": 0.11834,
    "h": 324.5
  },
  "luminance": 0.02149
}

Semantic roles & 50–950 ramp

primary
#470D4C
secondary
#35872E
accent
#EE3A48
background
#F7F5F7
surface
#EEE8EE
border
#C9C4C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #470D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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