#470C4D#470C4D

#470C4D is a dark, vivid purple. Relative luminance 0.021; OKLCH L 29.3% C 0.120 H 323.9°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#470C4D
RGBrgb(71, 12, 77)
HSLhsl(294, 73%, 17%)
HSVhsv(294, 84%, 30%)
CMYKcmyk(7.8%, 84.4%, 0%, 69.8%)
CIE-LABlab(16.20, 36.13, -25.43)
CIE-LCHlch(16.20, 44.18, 324.86°)
OKLaboklab(29.35% 0.0972 -0.071)
OKLCHoklch(29.35% 0.12 323.9)
XYZxyz(4.0694, 2.1386, 7.2182)
Luminance0.0214 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470C4D #124D0C
analogous
#270C4D #470C4D #4D0C32
triadic
#470C4D #4D470C #0C4D47
tetradic
#470C4D #4D270C #124D0C #0C324D
square
#470C4D #4D270C #124D0C #0C324D
split-complementary
#470C4D #324D0C #0C4D27
monochromatic
#18041A #18041A #470C4D #781482 #A91DB7

Accessibility & contrast

On white

14.71
#470C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #470C4D
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470C4D#FFFFFF#000000##FFFFFF
##470C4D1.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244F
Deuteranopia (green-blind)
#182A4C
Tritanopia (blue-blind)
#48192C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #470c4d;
/* rgb */ color: rgb(71, 12, 77);
/* oklch */ color: oklch(29.3% 0.120 323.9);
Tailwind
colors: {
  custom: {
    50: '#7d537f',
    500: '#470c4d',
    950: '#000000',
  },
}
SCSS
$custom: #470c4d;
$custom-light: #7d537f;
$custom-dark: #000000;
JSON
{
  "hex": "#470c4d",
  "rgb": {
    "r": 71,
    "g": 12,
    "b": 77
  },
  "hsl": {
    "h": 294.462,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29348,
    "c": 0.1204,
    "h": 323.9
  },
  "luminance": 0.02138
}

Semantic roles & 50–950 ramp

primary
#470C4D
secondary
#35892C
accent
#F03849
background
#F7F5F7
surface
#EEE8EE
border
#C9C4C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #470C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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