#470F5A#470F5A

#470F5A is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.6% C 0.129 H 315.7°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#470F5A
RGBrgb(71, 15, 90)
HSLhsl(285, 71%, 21%)
HSVhsv(285, 83%, 35%)
CMYKcmyk(21.1%, 83.3%, 0%, 64.7%)
CIE-LABlab(17.55, 37.79, -32.07)
CIE-LCHlch(17.55, 49.56, 319.68°)
OKLaboklab(30.61% 0.0926 -0.0905)
OKLCHoklch(30.61% 0.129 315.7)
XYZxyz(4.6145, 2.4196, 9.8948)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470F5A #225A0F
analogous
#210F5A #470F5A #5A0F47
triadic
#470F5A #5A470F #0F5A47
tetradic
#470F5A #5A210F #225A0F #0F475A
square
#470F5A #5A210F #225A0F #0F475A
split-complementary
#470F5A #475A0F #0F5A21
monochromatic
#15041A #1E0626 #470F5A #70188E #9A20C3

Accessibility & contrast

On white

14.15
#470F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#470F5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470F5A
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470F5A#FFFFFF#000000##FFFFFF
##470F5A1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285C
Deuteranopia (green-blind)
#0D2C58
Tritanopia (blue-blind)
#462034
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #470f5a;
/* rgb */ color: rgb(71, 15, 90);
/* oklch */ color: oklch(30.6% 0.129 315.7);
Tailwind
colors: {
  custom: {
    50: '#7d5589',
    500: '#470f5a',
    950: '#000000',
  },
}
SCSS
$custom: #470f5a;
$custom-light: #7d5589;
$custom-dark: #000000;
JSON
{
  "hex": "#470f5a",
  "rgb": {
    "r": 71,
    "g": 15,
    "b": 90
  },
  "hsl": {
    "h": 284.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30614,
    "c": 0.12944,
    "h": 315.7
  },
  "luminance": 0.02419
}

Semantic roles & 50–950 ramp

primary
#470F5A
secondary
#4A9431
accent
#EE3A67
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #470F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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