#470E51#470E51

#470E51 is a dark, vivid purple. Relative luminance 0.022; OKLCH L 29.8% C 0.122 H 321.1°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#470E51
RGBrgb(71, 14, 81)
HSLhsl(291, 71%, 19%)
HSVhsv(291, 83%, 32%)
CMYKcmyk(12.3%, 82.7%, 0%, 68.2%)
CIE-LABlab(16.74, 36.22, -27.30)
CIE-LCHlch(16.74, 45.36, 323.00°)
OKLaboklab(29.82% 0.0949 -0.0765)
OKLCHoklch(29.82% 0.122 321.1)
XYZxyz(4.2406, 2.2480, 7.9935)
Luminance0.0225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470E51 #18510E
analogous
#250E51 #470E51 #510E39
triadic
#470E51 #51470E #0E5147
tetradic
#470E51 #51250E #18510E #0E3951
square
#470E51 #51250E #18510E #0E3951
split-complementary
#470E51 #39510E #0E5125
monochromatic
#17051A #19051D #470E51 #751785 #A220B9

Accessibility & contrast

On white

14.49
#470E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#470E51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470E51
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470E51#FFFFFF#000000##FFFFFF
##470E511.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002553
Deuteranopia (green-blind)
#162B4F
Tritanopia (blue-blind)
#481C2F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #470e51;
/* rgb */ color: rgb(71, 14, 81);
/* oklch */ color: oklch(29.8% 0.122 321.1);
Tailwind
colors: {
  custom: {
    50: '#7d5482',
    500: '#470e51',
    950: '#000000',
  },
}
SCSS
$custom: #470e51;
$custom-light: #7d5482;
$custom-dark: #000000;
JSON
{
  "hex": "#470e51",
  "rgb": {
    "r": 71,
    "g": 14,
    "b": 81
  },
  "hsl": {
    "h": 291.045,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29823,
    "c": 0.12186,
    "h": 321.1
  },
  "luminance": 0.02248
}

Semantic roles & 50–950 ramp

primary
#470E51
secondary
#3D8C2F
accent
#ED3A55
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030A
muted
#7C787C

Preview Lab

Preview with #470E51

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

Preview Lab → · Contrast checker → · Palette generator →

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