#470B56#470B56

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

Color values

HEX#470B56
RGBrgb(71, 11, 86)
HSLhsl(288, 77%, 19%)
HSVhsv(288, 87%, 34%)
CMYKcmyk(17.4%, 87.2%, 0%, 66.3%)
CIE-LABlab(16.75, 38.32, -30.67)
CIE-LCHlch(16.75, 49.08, 321.33°)
OKLaboklab(29.95% 0.0969 -0.0863)
OKLCHoklch(29.95% 0.13 318.3)
XYZxyz(4.3977, 2.2510, 9.0051)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470B56 #1A560B
analogous
#220B56 #470B56 #560B40
triadic
#470B56 #56470B #0B5647
tetradic
#470B56 #56220B #1A560B #0B4056
square
#470B56 #56220B #1A560B #0B4056
split-complementary
#470B56 #40560B #0B5622
monochromatic
#16031B #1A0420 #470B56 #74128C #A119C3

Accessibility & contrast

On white

14.48
#470B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #470B56
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470B56#FFFFFF#000000##FFFFFF
##470B561.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002658
Deuteranopia (green-blind)
#0F2B54
Tritanopia (blue-blind)
#471C31
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #470b56;
/* rgb */ color: rgb(71, 11, 86);
/* oklch */ color: oklch(30.0% 0.130 318.3);
Tailwind
colors: {
  custom: {
    50: '#7d5386',
    500: '#470b56',
    950: '#000000',
  },
}
SCSS
$custom: #470b56;
$custom-light: #7d5386;
$custom-dark: #000000;
JSON
{
  "hex": "#470b56",
  "rgb": {
    "r": 71,
    "g": 11,
    "b": 86
  },
  "hsl": {
    "h": 288,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29953,
    "c": 0.12977,
    "h": 318.3
  },
  "luminance": 0.02251
}

Semantic roles & 50–950 ramp

primary
#470B56
secondary
#40912B
accent
#F4345A
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #470B56

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

Preview Lab → · Contrast checker → · Palette generator →

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