#470D58#470D58

#470D58 is a dark, vivid purple. Relative luminance 0.023; OKLCH L 30.3% C 0.130 H 317.0°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#470D58
RGBrgb(71, 13, 88)
HSLhsl(286, 74%, 20%)
HSVhsv(286, 85%, 35%)
CMYKcmyk(19.3%, 85.2%, 0%, 65.5%)
CIE-LABlab(17.14, 38.08, -31.39)
CIE-LCHlch(17.14, 49.35, 320.50°)
OKLaboklab(30.28% 0.0948 -0.0884)
OKLCHoklch(30.28% 0.13 317)
XYZxyz(4.5036, 2.3322, 9.4436)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470D58 #1E580D
analogous
#220D58 #470D58 #580D44
triadic
#470D58 #58470D #0D5847
tetradic
#470D58 #58220D #1E580D #0D4458
square
#470D58 #58220D #1E580D #0D4458
split-complementary
#470D58 #44580D #0D5822
monochromatic
#16041B #1C0523 #470D58 #72158D #9D1DC3

Accessibility & contrast

On white

14.32
#470D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #470D58
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470D58#FFFFFF#000000##FFFFFF
##470D581.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275A
Deuteranopia (green-blind)
#0E2C56
Tritanopia (blue-blind)
#461E33
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #470d58;
/* rgb */ color: rgb(71, 13, 88);
/* oklch */ color: oklch(30.3% 0.130 317.0);
Tailwind
colors: {
  custom: {
    50: '#7d5488',
    500: '#470d58',
    950: '#000000',
  },
}
SCSS
$custom: #470d58;
$custom-light: #7d5488;
$custom-dark: #000000;
JSON
{
  "hex": "#470d58",
  "rgb": {
    "r": 71,
    "g": 13,
    "b": 88
  },
  "hsl": {
    "h": 286.4,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30277,
    "c": 0.12966,
    "h": 317
  },
  "luminance": 0.02332
}

Semantic roles & 50–950 ramp

primary
#470D58
secondary
#45932E
accent
#F13761
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030B
muted
#7C787C

Preview Lab

Preview with #470D58

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

Preview Lab → · Contrast checker → · Palette generator →

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