#470C42#470C42

#470C42 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.6% C 0.111 H 331.8°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#470C42
RGBrgb(71, 12, 66)
HSLhsl(305, 71%, 16%)
HSVhsv(305, 83%, 28%)
CMYKcmyk(0%, 83.1%, 7%, 72.2%)
CIE-LABlab(15.47, 34.03, -18.97)
CIE-LCHlch(15.47, 38.96, 330.86°)
OKLaboklab(28.59% 0.0975 -0.0522)
OKLCHoklch(28.59% 0.111 331.8)
XYZxyz(3.7134, 1.9962, 5.3429)
Luminance0.0200 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470C42 #0C4711
analogous
#2F0C47 #470C42 #470C25
triadic
#470C42 #42470C #0C4247
tetradic
#470C42 #472F0C #0C4711 #0C2547
square
#470C42 #472F0C #0C4711 #0C2547
split-complementary
#470C42 #25470C #0C472F
monochromatic
#1A0418 #1A0418 #470C42 #7B1573 #B01EA3

Accessibility & contrast

On white

15.01
#470C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#470C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470C42
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470C42#FFFFFF#000000##FFFFFF
##470C421.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082143
Deuteranopia (green-blind)
#1F2A41
Tritanopia (blue-blind)
#4A1326
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #470c42;
/* rgb */ color: rgb(71, 12, 66);
/* oklch */ color: oklch(28.6% 0.111 331.8);
Tailwind
colors: {
  custom: {
    50: '#7d5276',
    500: '#470c42',
    950: '#000000',
  },
}
SCSS
$custom: #470c42;
$custom-light: #7d5276;
$custom-dark: #000000;
JSON
{
  "hex": "#470c42",
  "rgb": {
    "r": 71,
    "g": 12,
    "b": 66
  },
  "hsl": {
    "h": 305.085,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.28591,
    "c": 0.11059,
    "h": 331.8
  },
  "luminance": 0.01996
}

Semantic roles & 50–950 ramp

primary
#470C42
secondary
#2C8333
accent
#EE493A
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #470C42

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

Preview Lab → · Contrast checker → · Palette generator →

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