#470F5F#470F5F

#470F5F is a dark, vivid purple. Relative luminance 0.025; OKLCH L 31.0% C 0.134 H 312.9°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#470F5F
RGBrgb(71, 15, 95)
HSLhsl(282, 73%, 22%)
HSVhsv(282, 84%, 37%)
CMYKcmyk(25.3%, 84.2%, 0%, 62.7%)
CIE-LABlab(17.95, 38.91, -34.76)
CIE-LCHlch(17.95, 52.17, 318.22°)
OKLaboklab(31.02% 0.0916 -0.0984)
OKLCHoklch(31.02% 0.134 312.9)
XYZxyz(4.8345, 2.5076, 11.0536)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470F5F #275F0F
analogous
#1F0F5F #470F5F #5F0F4F
triadic
#470F5F #5F470F #0F5F47
tetradic
#470F5F #5F1F0F #275F0F #0F4F5F
square
#470F5F #5F1F0F #275F0F #0F4F5F
split-complementary
#470F5F #4F5F0F #0F5F1F
monochromatic
#14041A #1F072A #470F5F #6F1794 #9620C9

Accessibility & contrast

On white

13.99
#470F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#470F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470F5F
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470F5F#FFFFFF#000000##FFFFFF
##470F5F1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002961
Deuteranopia (green-blind)
#042D5D
Tritanopia (blue-blind)
#442237
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #470f5f;
/* rgb */ color: rgb(71, 15, 95);
/* oklch */ color: oklch(31.0% 0.134 312.9);
Tailwind
colors: {
  custom: {
    50: '#7e558d',
    500: '#470f5f',
    950: '#000000',
  },
}
SCSS
$custom: #470f5f;
$custom-light: #7e558d;
$custom-dark: #000000;
JSON
{
  "hex": "#470f5f",
  "rgb": {
    "r": 71,
    "g": 15,
    "b": 95
  },
  "hsl": {
    "h": 282,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31024,
    "c": 0.13439,
    "h": 312.9
  },
  "luminance": 0.02507
}

Semantic roles & 50–950 ramp

primary
#470F5F
secondary
#509832
accent
#EF386F
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #470F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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