#470F4B#470F4B

#470F4B is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.5% C 0.115 H 325.1°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#470F4B
RGBrgb(71, 15, 75)
HSLhsl(296, 67%, 18%)
HSVhsv(296, 80%, 29%)
CMYKcmyk(5.3%, 80%, 0%, 70.6%)
CIE-LABlab(16.45, 34.61, -23.65)
CIE-LCHlch(16.45, 41.92, 325.65°)
OKLaboklab(29.48% 0.0943 -0.0658)
OKLCHoklch(29.48% 0.115 325.1)
XYZxyz(4.0393, 2.1895, 6.8651)
Luminance0.0219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470F4B #134B0F
analogous
#290F4B #470F4B #4B0F31
triadic
#470F4B #4B470F #0F4B47
tetradic
#470F4B #4B290F #134B0F #0F314B
square
#470F4B #4B290F #134B0F #0F314B
split-complementary
#470F4B #314B0F #0F4B29
monochromatic
#18051A #18051A #470F4B #77197E #A823B1

Accessibility & contrast

On white

14.61
#470F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #470F4B
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470F4B#FFFFFF#000000##FFFFFF
##470F4B1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01244D
Deuteranopia (green-blind)
#1B2B4A
Tritanopia (blue-blind)
#49192C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #470f4b;
/* rgb */ color: rgb(71, 15, 75);
/* oklch */ color: oklch(29.5% 0.115 325.1);
Tailwind
colors: {
  custom: {
    50: '#7d547d',
    500: '#470f4b',
    950: '#000000',
  },
}
SCSS
$custom: #470f4b;
$custom-light: #7d547d;
$custom-dark: #000000;
JSON
{
  "hex": "#470f4b",
  "rgb": {
    "r": 71,
    "g": 15,
    "b": 75
  },
  "hsl": {
    "h": 296,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29484,
    "c": 0.11497,
    "h": 325.1
  },
  "luminance": 0.02189
}

Semantic roles & 50–950 ramp

primary
#470F4B
secondary
#368530
accent
#EA3E4A
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #470F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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