#470C40#470C40

#470C40 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.5% C 0.109 H 333.4°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#470C40
RGBrgb(71, 12, 64)
HSLhsl(307, 71%, 16%)
HSVhsv(307, 83%, 28%)
CMYKcmyk(0%, 83.1%, 9.9%, 72.2%)
CIE-LABlab(15.34, 33.67, -17.76)
CIE-LCHlch(15.34, 38.06, 332.19°)
OKLaboklab(28.46% 0.0974 -0.0487)
OKLCHoklch(28.46% 0.109 333.4)
XYZxyz(3.6554, 1.9730, 5.0378)
Luminance0.0197 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470C40 #0C4713
analogous
#310C47 #470C40 #470C23
triadic
#470C40 #40470C #0C4047
tetradic
#470C40 #47310C #0C4713 #0C2347
square
#470C40 #47310C #0C4713 #0C2347
split-complementary
#470C40 #23470C #0C4731
monochromatic
#1A0418 #1A0418 #470C40 #7B156F #B01E9E

Accessibility & contrast

On white

15.06
#470C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#470C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470C40
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470C40#FFFFFF#000000##FFFFFF
##470C401.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2141
Deuteranopia (green-blind)
#20293F
Tritanopia (blue-blind)
#4B1225
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #470c40;
/* rgb */ color: rgb(71, 12, 64);
/* oklch */ color: oklch(28.5% 0.109 333.4);
Tailwind
colors: {
  custom: {
    50: '#7d5275',
    500: '#470c40',
    950: '#000000',
  },
}
SCSS
$custom: #470c40;
$custom-light: #7d5275;
$custom-dark: #000000;
JSON
{
  "hex": "#470c40",
  "rgb": {
    "r": 71,
    "g": 12,
    "b": 64
  },
  "hsl": {
    "h": 307.119,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.28463,
    "c": 0.1089,
    "h": 333.4
  },
  "luminance": 0.01973
}

Semantic roles & 50–950 ramp

primary
#470C40
secondary
#2C8336
accent
#EE4F3A
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #470C40

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

Preview Lab → · Contrast checker → · Palette generator →

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