#470D54#470D54

#470D54 is a dark, vivid purple. Relative luminance 0.023; OKLCH L 30.0% C 0.126 H 319.3°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#470D54
RGBrgb(71, 13, 84)
HSLhsl(289, 73%, 19%)
HSVhsv(289, 85%, 33%)
CMYKcmyk(15.5%, 84.5%, 0%, 67.1%)
CIE-LABlab(16.83, 37.22, -29.18)
CIE-LCHlch(16.83, 47.30, 321.90°)
OKLaboklab(29.96% 0.0955 -0.082)
OKLCHoklch(29.96% 0.126 319.3)
XYZxyz(4.3425, 2.2678, 8.5948)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470D54 #1A540D
analogous
#240D54 #470D54 #540D3E
triadic
#470D54 #54470D #0D5447
tetradic
#470D54 #54240D #1A540D #0D3E54
square
#470D54 #54240D #1A540D #0D3E54
split-complementary
#470D54 #3E540D #0D5424
monochromatic
#16041A #1A051F #470D54 #741589 #A11DBE

Accessibility & contrast

On white

14.45
#470D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #470D54
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470D54#FFFFFF#000000##FFFFFF
##470D541.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002656
Deuteranopia (green-blind)
#132B52
Tritanopia (blue-blind)
#471C30
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #470d54;
/* rgb */ color: rgb(71, 13, 84);
/* oklch */ color: oklch(30.0% 0.126 319.3);
Tailwind
colors: {
  custom: {
    50: '#7d5484',
    500: '#470d54',
    950: '#000000',
  },
}
SCSS
$custom: #470d54;
$custom-light: #7d5484;
$custom-dark: #000000;
JSON
{
  "hex": "#470d54",
  "rgb": {
    "r": 71,
    "g": 13,
    "b": 84
  },
  "hsl": {
    "h": 289.014,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29961,
    "c": 0.12583,
    "h": 319.3
  },
  "luminance": 0.02268
}

Semantic roles & 50–950 ramp

primary
#470D54
secondary
#408F2E
accent
#F0385A
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #470D54

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

Preview Lab → · Contrast checker → · Palette generator →

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