#470642#470642

#470642 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.1% C 0.117 H 331.8°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#470642
RGBrgb(71, 6, 66)
HSLhsl(305, 84%, 15%)
HSVhsv(305, 92%, 28%)
CMYKcmyk(0%, 91.5%, 7%, 72.2%)
CIE-LABlab(14.75, 36.08, -20.10)
CIE-LCHlch(14.75, 41.30, 330.89°)
OKLaboklab(28.08% 0.1035 -0.0554)
OKLCHoklch(28.08% 0.117 331.8)
XYZxyz(3.6470, 1.8635, 5.3208)
Luminance0.0186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470642 #06470B
analogous
#2B0647 #470642 #470622
triadic
#470642 #424706 #064247
tetradic
#470642 #472B06 #06470B #062247
square
#470642 #472B06 #06470B #062247
split-complementary
#470642 #224706 #06472B
monochromatic
#1C021A #1C021A #470642 #7F0B76 #B810AB

Accessibility & contrast

On white

15.30
#470642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#470642 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470642
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470642#FFFFFF#000000##FFFFFF
##4706421.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011F44
Deuteranopia (green-blind)
#1D2841
Tritanopia (blue-blind)
#4A0F25
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #470642;
/* rgb */ color: rgb(71, 6, 66);
/* oklch */ color: oklch(28.1% 0.117 331.8);
Tailwind
colors: {
  custom: {
    50: '#7d5076',
    500: '#470642',
    950: '#000000',
  },
}
SCSS
$custom: #470642;
$custom-light: #7d5076;
$custom-dark: #000000;
JSON
{
  "hex": "#470642",
  "rgb": {
    "r": 71,
    "g": 6,
    "b": 66
  },
  "hsl": {
    "h": 304.615,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.28082,
    "c": 0.11739,
    "h": 331.8
  },
  "luminance": 0.01863
}

Semantic roles & 50–950 ramp

primary
#470642
secondary
#23862A
accent
#FB3D2D
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#0A0208
muted
#7C787B

Preview Lab

Preview with #470642

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

Preview Lab → · Contrast checker → · Palette generator →

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