#470F58#470F58

#470F58 is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.5% C 0.127 H 316.8°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#470F58
RGBrgb(71, 15, 88)
HSLhsl(286, 71%, 20%)
HSVhsv(286, 83%, 35%)
CMYKcmyk(19.3%, 83%, 0%, 65.5%)
CIE-LABlab(17.39, 37.35, -30.98)
CIE-LCHlch(17.39, 48.52, 320.32°)
OKLaboklab(30.46% 0.0929 -0.0873)
OKLCHoklch(30.46% 0.127 316.8)
XYZxyz(4.5305, 2.3860, 9.4525)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470F58 #20580F
analogous
#220F58 #470F58 #580F45
triadic
#470F58 #58470F #0F5847
tetradic
#470F58 #58220F #20580F #0F4558
square
#470F58 #58220F #20580F #0F4558
split-complementary
#470F58 #45580F #0F5822
monochromatic
#15041A #1D0624 #470F58 #71188C #9B21C1

Accessibility & contrast

On white

14.22
#470F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #470F58
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470F58#FFFFFF#000000##FFFFFF
##470F581.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275A
Deuteranopia (green-blind)
#102C56
Tritanopia (blue-blind)
#461F33
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #470f58;
/* rgb */ color: rgb(71, 15, 88);
/* oklch */ color: oklch(30.5% 0.127 316.8);
Tailwind
colors: {
  custom: {
    50: '#7d5588',
    500: '#470f58',
    950: '#000000',
  },
}
SCSS
$custom: #470f58;
$custom-light: #7d5588;
$custom-dark: #000000;
JSON
{
  "hex": "#470f58",
  "rgb": {
    "r": 71,
    "g": 15,
    "b": 88
  },
  "hsl": {
    "h": 286.027,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30455,
    "c": 0.12748,
    "h": 316.8
  },
  "luminance": 0.02386
}

Semantic roles & 50–950 ramp

primary
#470F58
secondary
#489231
accent
#EE3A64
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #470F58

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

Preview Lab → · Contrast checker → · Palette generator →

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