#470F5B#470F5B

#470F5B is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.7% C 0.130 H 315.1°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#470F5B
RGBrgb(71, 15, 91)
HSLhsl(284, 72%, 21%)
HSVhsv(284, 84%, 36%)
CMYKcmyk(22%, 83.5%, 0%, 64.3%)
CIE-LABlab(17.63, 38.01, -32.61)
CIE-LCHlch(17.63, 50.08, 319.37°)
OKLaboklab(30.7% 0.0924 -0.0921)
OKLCHoklch(30.7% 0.13 315.1)
XYZxyz(4.6574, 2.4367, 10.1205)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470F5B #235B0F
analogous
#210F5B #470F5B #5B0F49
triadic
#470F5B #5B470F #0F5B47
tetradic
#470F5B #5B210F #235B0F #0F495B
square
#470F5B #5B210F #235B0F #0F495B
split-complementary
#470F5B #495B0F #0F5B21
monochromatic
#14041A #1E0626 #470F5B #701890 #9920C4

Accessibility & contrast

On white

14.12
#470F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#470F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470F5B
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470F5B#FFFFFF#000000##FFFFFF
##470F5B1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285D
Deuteranopia (green-blind)
#0B2D59
Tritanopia (blue-blind)
#452135
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #470f5b;
/* rgb */ color: rgb(71, 15, 91);
/* oklch */ color: oklch(30.7% 0.130 315.1);
Tailwind
colors: {
  custom: {
    50: '#7d558a',
    500: '#470f5b',
    950: '#000000',
  },
}
SCSS
$custom: #470f5b;
$custom-light: #7d558a;
$custom-dark: #000000;
JSON
{
  "hex": "#470f5b",
  "rgb": {
    "r": 71,
    "g": 15,
    "b": 91
  },
  "hsl": {
    "h": 284.211,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30695,
    "c": 0.13043,
    "h": 315.1
  },
  "luminance": 0.02437
}

Semantic roles & 50–950 ramp

primary
#470F5B
secondary
#4B9531
accent
#EE3969
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #470F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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