#470C4B#470C4B

#470C4B is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.2% C 0.119 H 325.2°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#470C4B
RGBrgb(71, 12, 75)
HSLhsl(296, 72%, 17%)
HSVhsv(296, 84%, 29%)
CMYKcmyk(5.3%, 84%, 0%, 70.6%)
CIE-LABlab(16.06, 35.73, -24.28)
CIE-LCHlch(16.06, 43.20, 325.81°)
OKLaboklab(29.2% 0.0974 -0.0676)
OKLCHoklch(29.2% 0.119 325.2)
XYZxyz(3.9999, 2.1108, 6.8520)
Luminance0.0211 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470C4B #104B0C
analogous
#270C4B #470C4B #4B0C30
triadic
#470C4B #4B470C #0C4B47
tetradic
#470C4B #4B270C #104B0C #0C304B
square
#470C4B #4B270C #104B0C #0C304B
split-complementary
#470C4B #304B0C #0C4B27
monochromatic
#19041A #19041A #470C4B #791480 #AB1DB5

Accessibility & contrast

On white

14.77
#470C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#470C4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470C4B
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470C4B#FFFFFF#000000##FFFFFF
##470C4B1.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234D
Deuteranopia (green-blind)
#1A2A4A
Tritanopia (blue-blind)
#49182B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #470c4b;
/* rgb */ color: rgb(71, 12, 75);
/* oklch */ color: oklch(29.2% 0.119 325.2);
Tailwind
colors: {
  custom: {
    50: '#7d537d',
    500: '#470c4b',
    950: '#000000',
  },
}
SCSS
$custom: #470c4b;
$custom-light: #7d537d;
$custom-dark: #000000;
JSON
{
  "hex": "#470c4b",
  "rgb": {
    "r": 71,
    "g": 12,
    "b": 75
  },
  "hsl": {
    "h": 296.19,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29203,
    "c": 0.11857,
    "h": 325.2
  },
  "luminance": 0.02111
}

Semantic roles & 50–950 ramp

primary
#470C4B
secondary
#32872C
accent
#EF3944
background
#F7F4F7
surface
#EEE8EE
border
#C9C4C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #470C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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