#470F56#470F56

#470F56 is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.3% C 0.126 H 318.0°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#470F56
RGBrgb(71, 15, 86)
HSLhsl(287, 70%, 20%)
HSVhsv(287, 83%, 34%)
CMYKcmyk(17.4%, 82.6%, 0%, 66.3%)
CIE-LABlab(17.24, 36.91, -29.88)
CIE-LCHlch(17.24, 47.49, 321.01°)
OKLaboklab(30.3% 0.0932 -0.084)
OKLCHoklch(30.3% 0.126 318)
XYZxyz(4.4488, 2.3533, 9.0222)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470F56 #1E560F
analogous
#240F56 #470F56 #560F42
triadic
#470F56 #56470F #0F5647
tetradic
#470F56 #56240F #1E560F #0F4256
square
#470F56 #56240F #1E560F #0F4256
split-complementary
#470F56 #42560F #0F5624
monochromatic
#16051A #1C0622 #470F56 #72188A #9D21BE

Accessibility & contrast

On white

14.28
#470F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#470F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470F56
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470F56#FFFFFF#000000##FFFFFF
##470F561.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002758
Deuteranopia (green-blind)
#122C54
Tritanopia (blue-blind)
#461E32
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #470f56;
/* rgb */ color: rgb(71, 15, 86);
/* oklch */ color: oklch(30.3% 0.126 318.0);
Tailwind
colors: {
  custom: {
    50: '#7d5586',
    500: '#470f56',
    950: '#000000',
  },
}
SCSS
$custom: #470f56;
$custom-light: #7d5586;
$custom-dark: #000000;
JSON
{
  "hex": "#470f56",
  "rgb": {
    "r": 71,
    "g": 15,
    "b": 86
  },
  "hsl": {
    "h": 287.324,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30298,
    "c": 0.12552,
    "h": 318
  },
  "luminance": 0.02353
}

Semantic roles & 50–950 ramp

primary
#470F56
secondary
#459031
accent
#ED3B60
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #470F56

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

Preview Lab → · Contrast checker → · Palette generator →

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