#470D4F#470D4F

#470D4F is a dark, vivid purple. Relative luminance 0.022; OKLCH L 29.6% C 0.121 H 322.5°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#470D4F
RGBrgb(71, 13, 79)
HSLhsl(293, 72%, 18%)
HSVhsv(293, 84%, 31%)
CMYKcmyk(10.1%, 83.5%, 0%, 69%)
CIE-LABlab(16.47, 36.18, -26.37)
CIE-LCHlch(16.47, 44.77, 323.91°)
OKLaboklab(29.58% 0.0961 -0.0737)
OKLCHoklch(29.58% 0.121 322.5)
XYZxyz(4.1536, 2.1922, 7.6000)
Luminance0.0219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470D4F #154F0D
analogous
#260D4F #470D4F #4F0D36
triadic
#470D4F #4F470D #0D4F47
tetradic
#470D4F #4F260D #154F0D #0D364F
square
#470D4F #4F260D #154F0D #0D364F
split-complementary
#470D4F #364F0D #0D4F26
monochromatic
#18041A #18041A #470D4F #761684 #A51EB8

Accessibility & contrast

On white

14.60
#470D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#470D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470D4F
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470D4F#FFFFFF#000000##FFFFFF
##470D4F1.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002551
Deuteranopia (green-blind)
#172B4D
Tritanopia (blue-blind)
#481A2E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #470d4f;
/* rgb */ color: rgb(71, 13, 79);
/* oklch */ color: oklch(29.6% 0.121 322.5);
Tailwind
colors: {
  custom: {
    50: '#7d5481',
    500: '#470d4f',
    950: '#000000',
  },
}
SCSS
$custom: #470d4f;
$custom-light: #7d5481;
$custom-dark: #000000;
JSON
{
  "hex": "#470d4f",
  "rgb": {
    "r": 71,
    "g": 13,
    "b": 79
  },
  "hsl": {
    "h": 292.727,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29583,
    "c": 0.12112,
    "h": 322.5
  },
  "luminance": 0.02192
}

Semantic roles & 50–950 ramp

primary
#470D4F
secondary
#398A2E
accent
#EE394F
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #470D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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