#470C4F#470C4F

#470C4F is a dark, vivid purple. Relative luminance 0.022; OKLCH L 29.5% C 0.122 H 322.6°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#470C4F
RGBrgb(71, 12, 79)
HSLhsl(293, 74%, 18%)
HSVhsv(293, 85%, 31%)
CMYKcmyk(10.1%, 84.8%, 0%, 69%)
CIE-LABlab(16.34, 36.53, -26.57)
CIE-LCHlch(16.34, 45.17, 323.97°)
OKLaboklab(29.49% 0.097 -0.0743)
OKLCHoklch(29.49% 0.122 322.6)
XYZxyz(4.1411, 2.1673, 7.5958)
Luminance0.0217 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470C4F #144F0C
analogous
#250C4F #470C4F #4F0C35
triadic
#470C4F #4F470C #0C4F47
tetradic
#470C4F #4F250C #144F0C #0C354F
square
#470C4F #4F250C #144F0C #0C354F
split-complementary
#470C4F #354F0C #0C4F25
monochromatic
#18041B #18041B #470C4F #771484 #A61CB9

Accessibility & contrast

On white

14.65
#470C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #470C4F
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470C4F#FFFFFF#000000##FFFFFF
##470C4F1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002451
Deuteranopia (green-blind)
#172B4D
Tritanopia (blue-blind)
#48192D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #470c4f;
/* rgb */ color: rgb(71, 12, 79);
/* oklch */ color: oklch(29.5% 0.122 322.6);
Tailwind
colors: {
  custom: {
    50: '#7d5381',
    500: '#470c4f',
    950: '#000000',
  },
}
SCSS
$custom: #470c4f;
$custom-light: #7d5381;
$custom-dark: #000000;
JSON
{
  "hex": "#470c4f",
  "rgb": {
    "r": 71,
    "g": 12,
    "b": 79
  },
  "hsl": {
    "h": 292.836,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29495,
    "c": 0.12223,
    "h": 322.6
  },
  "luminance": 0.02167
}

Semantic roles & 50–950 ramp

primary
#470C4F
secondary
#388B2C
accent
#F0384E
background
#F7F5F7
surface
#EEE8EE
border
#C9C4C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #470C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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