#470A4C#470A4C

#470A4C is a dark, vivid purple. Relative luminance 0.021; OKLCH L 29.1% C 0.122 H 324.6°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#470A4C
RGBrgb(71, 10, 76)
HSLhsl(295, 77%, 17%)
HSVhsv(295, 87%, 30%)
CMYKcmyk(6.6%, 86.8%, 0%, 70.2%)
CIE-LABlab(15.89, 36.61, -25.23)
CIE-LCHlch(15.89, 44.46, 325.43°)
OKLaboklab(29.11% 0.0992 -0.0704)
OKLCHoklch(29.11% 0.122 324.6)
XYZxyz(4.0115, 2.0787, 7.0260)
Luminance0.0208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470A4C #0F4C0A
analogous
#260A4C #470A4C #4C0A30
triadic
#470A4C #4C470A #0A4C47
tetradic
#470A4C #4C260A #0F4C0A #0A304C
square
#470A4C #4C260A #0F4C0A #0A304C
split-complementary
#470A4C #304C0A #0A4C26
monochromatic
#19041B #19041B #470A4C #7A1182 #AC18B8

Accessibility & contrast

On white

14.83
#470A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #470A4C
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470A4C#FFFFFF#000000##FFFFFF
##470A4C1.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234E
Deuteranopia (green-blind)
#182A4A
Tritanopia (blue-blind)
#49172B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #470a4c;
/* rgb */ color: rgb(71, 10, 76);
/* oklch */ color: oklch(29.1% 0.122 324.6);
Tailwind
colors: {
  custom: {
    50: '#7d527e',
    500: '#470a4c',
    950: '#000000',
  },
}
SCSS
$custom: #470a4c;
$custom-light: #7d527e;
$custom-dark: #000000;
JSON
{
  "hex": "#470a4c",
  "rgb": {
    "r": 71,
    "g": 10,
    "b": 76
  },
  "hsl": {
    "h": 295.455,
    "s": 76.744,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2911,
    "c": 0.12161,
    "h": 324.6
  },
  "luminance": 0.02078
}

Semantic roles & 50–950 ramp

primary
#470A4C
secondary
#308929
accent
#F33543
background
#F7F4F7
surface
#EEE7EE
border
#C9C3C9
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #470A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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