#470F51#470F51

#470F51 is a dark, vivid purple. Relative luminance 0.023; OKLCH L 29.9% C 0.121 H 321.1°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#470F51
RGBrgb(71, 15, 81)
HSLhsl(291, 69%, 19%)
HSVhsv(291, 81%, 32%)
CMYKcmyk(12.3%, 81.5%, 0%, 68.2%)
CIE-LABlab(16.87, 35.84, -27.08)
CIE-LCHlch(16.87, 44.92, 322.92°)
OKLaboklab(29.92% 0.0939 -0.0758)
OKLCHoklch(29.92% 0.121 321.1)
XYZxyz(4.2544, 2.2756, 7.9981)
Luminance0.0227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470F51 #19510F
analogous
#260F51 #470F51 #510F3A
triadic
#470F51 #51470F #0F5147
tetradic
#470F51 #51260F #19510F #0F3A51
square
#470F51 #51260F #19510F #0F3A51
split-complementary
#470F51 #3A510F #0F5126
monochromatic
#17051A #1A051D #470F51 #741985 #A222B8

Accessibility & contrast

On white

14.43
#470F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#470F51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470F51
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470F51#FFFFFF#000000##FFFFFF
##470F511.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002653
Deuteranopia (green-blind)
#172C4F
Tritanopia (blue-blind)
#481C2F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #470f51;
/* rgb */ color: rgb(71, 15, 81);
/* oklch */ color: oklch(29.9% 0.121 321.1);
Tailwind
colors: {
  custom: {
    50: '#7d5482',
    500: '#470f51',
    950: '#000000',
  },
}
SCSS
$custom: #470f51;
$custom-light: #7d5482;
$custom-dark: #000000;
JSON
{
  "hex": "#470f51",
  "rgb": {
    "r": 71,
    "g": 15,
    "b": 81
  },
  "hsl": {
    "h": 290.909,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29917,
    "c": 0.12068,
    "h": 321.1
  },
  "luminance": 0.02275
}

Semantic roles & 50–950 ramp

primary
#470F51
secondary
#3E8B31
accent
#EC3C57
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #470F51

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

Preview Lab → · Contrast checker → · Palette generator →

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