#470C47#470C47

#470C47 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.9% C 0.115 H 328.1°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#470C47
RGBrgb(71, 12, 71)
HSLhsl(300, 71%, 16%)
HSVhsv(300, 83%, 28%)
CMYKcmyk(0%, 83.1%, 0%, 72.2%)
CIE-LABlab(15.79, 34.96, -21.94)
CIE-LCHlch(15.79, 41.27, 327.88°)
OKLaboklab(28.92% 0.0976 -0.0608)
OKLCHoklch(28.92% 0.115 328.1)
XYZxyz(3.8673, 2.0578, 6.1535)
Luminance0.0206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470C47 #0C470C
analogous
#2A0C47 #470C47 #470C2A
triadic
#470C47 #47470C #0C4747
tetradic
#470C47 #472A0C #0C470C #0C2A47
square
#470C47 #472A0C #0C470C #0C2A47
split-complementary
#470C47 #2A470C #0C472A
monochromatic
#1A041A #1A041A #470C47 #7B157B #B01EB0

Accessibility & contrast

On white

14.88
#470C47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #470C47
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470C47#FFFFFF#000000##FFFFFF
##470C471.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022249
Deuteranopia (green-blind)
#1C2A46
Tritanopia (blue-blind)
#4A1629
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #470c47;
/* rgb */ color: rgb(71, 12, 71);
/* oklch */ color: oklch(28.9% 0.115 328.1);
Tailwind
colors: {
  custom: {
    50: '#7d537a',
    500: '#470c47',
    950: '#000000',
  },
}
SCSS
$custom: #470c47;
$custom-light: #7d537a;
$custom-dark: #000000;
JSON
{
  "hex": "#470c47",
  "rgb": {
    "r": 71,
    "g": 12,
    "b": 71
  },
  "hsl": {
    "h": 300,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.28923,
    "c": 0.11497,
    "h": 328.1
  },
  "luminance": 0.02057
}

Semantic roles & 50–950 ramp

primary
#470C47
secondary
#2C832C
accent
#EE3A3A
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0309
muted
#7C787B

Preview Lab

Preview with #470C47

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

Preview Lab → · Contrast checker → · Palette generator →

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