#470C48#470C48

#470C48 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.0% C 0.116 H 327.3°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#470C48
RGBrgb(71, 12, 72)
HSLhsl(299, 71%, 16%)
HSVhsv(299, 83%, 28%)
CMYKcmyk(1.4%, 83.3%, 0%, 71.8%)
CIE-LABlab(15.85, 35.15, -22.53)
CIE-LCHlch(15.85, 41.75, 327.34°)
OKLaboklab(28.99% 0.0975 -0.0625)
OKLCHoklch(28.99% 0.116 327.3)
XYZxyz(3.8996, 2.0707, 6.3239)
Luminance0.0207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470C48 #0D480C
analogous
#290C48 #470C48 #480C2B
triadic
#470C48 #48470C #0C4847
tetradic
#470C48 #48290C #0D480C #0C2B48
square
#470C48 #48290C #0D480C #0C2B48
split-complementary
#470C48 #2B480C #0C4829
monochromatic
#1A041A #1A041A #470C48 #7B157C #AE1DB1

Accessibility & contrast

On white

14.85
#470C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#470C48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470C48
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470C48#FFFFFF#000000##FFFFFF
##470C481.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01234A
Deuteranopia (green-blind)
#1C2A47
Tritanopia (blue-blind)
#491629
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #470c48;
/* rgb */ color: rgb(71, 12, 72);
/* oklch */ color: oklch(29.0% 0.116 327.3);
Tailwind
colors: {
  custom: {
    50: '#7d537b',
    500: '#470c48',
    950: '#000000',
  },
}
SCSS
$custom: #470c48;
$custom-light: #7d537b;
$custom-dark: #000000;
JSON
{
  "hex": "#470c48",
  "rgb": {
    "r": 71,
    "g": 12,
    "b": 72
  },
  "hsl": {
    "h": 299,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.28992,
    "c": 0.11586,
    "h": 327.3
  },
  "luminance": 0.0207
}

Semantic roles & 50–950 ramp

primary
#470C48
secondary
#2D842C
accent
#EE3A3D
background
#F7F4F7
surface
#EEE8EE
border
#C9C4C9
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #470C48

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

Preview Lab → · Contrast checker → · Palette generator →

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