#470440#470440

#470440 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.8% C 0.118 H 333.3°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#470440
RGBrgb(71, 4, 64)
HSLhsl(306, 89%, 15%)
HSVhsv(306, 94%, 28%)
CMYKcmyk(0%, 94.4%, 9.9%, 72.2%)
CIE-LABlab(14.38, 36.45, -19.28)
CIE-LCHlch(14.38, 41.23, 332.13°)
OKLaboklab(27.78% 0.1056 -0.053)
OKLCHoklch(27.78% 0.118 333.3)
XYZxyz(3.5674, 1.7969, 5.0085)
Luminance0.0180 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470440 #04470B
analogous
#2D0447 #470440 #47041E
triadic
#470440 #404704 #044047
tetradic
#470440 #472D04 #04470B #041E47
square
#470440 #472D04 #04470B #041E47
split-complementary
#470440 #1E4704 #04472D
monochromatic
#1D021A #1D021A #470440 #810774 #BB0BA8

Accessibility & contrast

On white

15.45
#470440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#470440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470440
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470440#FFFFFF#000000##FFFFFF
##4704401.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011E41
Deuteranopia (green-blind)
#1D283F
Tritanopia (blue-blind)
#4B0C23
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #470440;
/* rgb */ color: rgb(71, 4, 64);
/* oklch */ color: oklch(27.8% 0.118 333.3);
Tailwind
colors: {
  custom: {
    50: '#7d4f75',
    500: '#470440',
    950: '#000000',
  },
}
SCSS
$custom: #470440;
$custom-light: #7d4f75;
$custom-dark: #000000;
JSON
{
  "hex": "#470440",
  "rgb": {
    "r": 71,
    "g": 4,
    "b": 64
  },
  "hsl": {
    "h": 306.269,
    "s": 89.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.27776,
    "c": 0.11813,
    "h": 333.3
  },
  "luminance": 0.01797
}

Semantic roles & 50–950 ramp

primary
#470440
secondary
#1F882A
accent
#FF3F29
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0208
muted
#7C787B

Preview Lab

Preview with #470440

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

Preview Lab → · Contrast checker → · Palette generator →

#470440 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva